24 type WikiPage = [BlockElement]
30 , headingText :: !String
34 | DefinitionList ![Definition]
35 | Preformatted ![InlineElement]
36 | Paragraph ![InlineElement]
37 | Div ![Attribute] ![BlockElement]
38 | BlockCmd !BlockCommand
39 deriving (Eq, Show, Typeable, Data)
44 | Italic ![InlineElement]
45 | Bold ![InlineElement]
47 linkPage :: !(Maybe PageName)
48 , linkFragment :: !(Maybe String)
49 , linkText :: !(Maybe String)
53 , extLinkText :: !(Maybe String)
55 | LineBreak ![Attribute]
56 | Span ![Attribute] ![InlineElement]
58 | Anchor ![Attribute] ![InlineElement]
59 | InlineCmd !InlineCommand
60 deriving (Eq, Show, Typeable, Data)
66 , listItems :: ![ListItem]
68 deriving (Eq, Show, Typeable, Data)
74 deriving (Eq, Show, Typeable, Data)
77 type ListItem = [Either ListElement InlineElement]
82 defTerm :: ![InlineElement]
83 , defDesc :: ![InlineElement]
85 deriving (Eq, Show, Typeable, Data)
94 type Attribute = (String, String)
100 , bCmdAttributes :: ![Attribute]
101 , bCmdContents :: ![BlockElement]
103 deriving (Eq, Show, Typeable, Data)
109 , iCmdAttributes :: ![Attribute]
110 , iCmdContents :: ![InlineElement]
112 deriving (Eq, Show, Typeable, Data)