+ | Italic ![InlineElement]
+ | Bold ![InlineElement]
+ | ObjectLink {
+ objLinkPage :: !PageName
+ , objLinkText :: !(Maybe String)
+ }
+ | PageLink {
+ linkPage :: !(Maybe PageName)
+ , linkFragment :: !(Maybe String)
+ , linkText :: !(Maybe String)
+ }
+ | ExternalLink {
+ extLinkURI :: !URI
+ , extLinkText :: !(Maybe String)
+ }
+ | LineBreak ![Attribute]
+ | Span ![Attribute] ![InlineElement]
+ | Image {
+ imgSource :: !PageName
+ , imgAlt :: !(Maybe String)
+ }
+ | Anchor ![Attribute] ![InlineElement]
+ | EmptyInline
+ | InlineCmd !InlineCommand
+ deriving (Eq, Show, Typeable, Data)
+
+
+data ListType
+ = Bullet
+ | Numbered
+ deriving (Eq, Show, Typeable, Data)
+
+
+type ListItem = [Element]
+
+
+data Definition
+ = Definition {
+ defTerm :: ![InlineElement]
+ , defDesc :: ![InlineElement]
+ }
+ deriving (Eq, Show, Typeable, Data)
+
+
+data CommandType
+ = InlineCommandType
+ | BlockCommandType