23 type WikiPage = [BlockElement]
29 , headingText :: !String
33 | DefinitionList ![Definition]
34 | Preformatted ![InlineElement]
35 | Paragraph ![InlineElement]
36 | Div ![Attribute] ![BlockElement]
37 | BlockCmd !BlockCommand
38 deriving (Eq, Show, Typeable, Data)
43 | Italic ![InlineElement]
44 | Bold ![InlineElement]
46 linkPage :: !(Maybe PageName)
47 , linkFragment :: !(Maybe String)
48 , linkText :: !(Maybe String)
50 | LineBreak ![Attribute]
51 | Span ![Attribute] ![InlineElement]
53 | Anchor ![Attribute] ![InlineElement]
54 | InlineCmd !InlineCommand
55 deriving (Eq, Show, Typeable, Data)
61 , listItems :: ![ListItem]
63 deriving (Eq, Show, Typeable, Data)
69 deriving (Eq, Show, Typeable, Data)
72 type ListItem = [Either ListElement InlineElement]
77 defTerm :: ![InlineElement]
78 , defDesc :: ![InlineElement]
80 deriving (Eq, Show, Typeable, Data)
89 type Attribute = (String, String)
95 , bCmdAttributes :: ![Attribute]
96 , bCmdContents :: ![BlockElement]
98 deriving (Eq, Show, Typeable, Data)
104 , iCmdAttributes :: ![Attribute]
105 , iCmdContents :: ![InlineElement]
107 deriving (Eq, Show, Typeable, Data)