24 type WikiPage = [BlockElement]
30 , headingText :: !String
34 | DefinitionList ![Definition]
35 | Preformatted ![InlineElement]
36 | Paragraph ![InlineElement]
37 | Div ![Attribute] ![BlockElement]
39 | BlockCmd !BlockCommand
40 deriving (Eq, Show, Typeable, Data)
45 | Italic ![InlineElement]
46 | Bold ![InlineElement]
48 linkPage :: !(Maybe PageName)
49 , linkFragment :: !(Maybe String)
50 , linkText :: !(Maybe String)
54 , extLinkText :: !(Maybe String)
56 | LineBreak ![Attribute]
57 | Span ![Attribute] ![InlineElement]
59 | Anchor ![Attribute] ![InlineElement]
61 | InlineCmd !InlineCommand
62 deriving (Eq, Show, Typeable, Data)
68 , listItems :: ![ListItem]
70 deriving (Eq, Show, Typeable, Data)
76 deriving (Eq, Show, Typeable, Data)
79 type ListItem = [Either ListElement InlineElement]
84 defTerm :: ![InlineElement]
85 , defDesc :: ![InlineElement]
87 deriving (Eq, Show, Typeable, Data)
96 type Attribute = (String, String)
102 , bCmdAttributes :: ![Attribute]
103 , bCmdContents :: ![BlockElement]
105 deriving (Eq, Show, Typeable, Data)
111 , iCmdAttributes :: ![Attribute]
112 , iCmdContents :: ![InlineElement]
114 deriving (Eq, Show, Typeable, Data)