+ | ExternalLink {
+ extLinkURI :: !URI
+ , extLinkText :: !(Maybe String)
+ }
+ | LineBreak ![Attribute]
+ | Span ![Attribute] ![InlineElement]
+ | Image {
+ imgSource :: !(PageName)
+ , imgAlt :: !(Maybe String)
+ }
+ | Anchor ![Attribute] ![InlineElement]
+ | Input ![Attribute]
+ | 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