25 type WikiPage = [BlockElement]
30 | Inline !InlineElement
34 type Attribute = (String, String)
40 , headingText :: !String
45 , listItems :: ![ListItem]
47 | DefinitionList ![Definition]
48 | Preformatted ![InlineElement]
49 | Paragraph ![InlineElement]
50 | Div ![Attribute] ![Element]
52 | BlockCmd !BlockCommand
58 | Italic ![InlineElement]
59 | Bold ![InlineElement]
61 objLinkPage :: !PageName
62 , objLinkText :: !(Maybe String)
65 linkPage :: !(Maybe PageName)
66 , linkFragment :: !(Maybe String)
67 , linkText :: !(Maybe String)
71 , extLinkText :: !(Maybe String)
73 | LineBreak ![Attribute]
74 | Span ![Attribute] ![InlineElement]
76 imgSource :: !(Either URI PageName)
77 , imgAlt :: !(Maybe String)
79 | Anchor ![Attribute] ![InlineElement]
82 | InlineCmd !InlineCommand
92 type ListItem = [Element]
97 defTerm :: ![InlineElement]
98 , defDesc :: ![InlineElement]
112 , bCmdAttributes :: ![Attribute]
113 , bCmdContents :: ![BlockElement]
121 , iCmdAttributes :: ![Attribute]
122 , iCmdContents :: ![InlineElement]