Modulecommonmark-0.2.6Haskell2010
Commonmark.Types
- 9 types
- 5 classes
- 3 values
- Packagecommonmark-0.2.6
- Exports17
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourcePos.hs
Instances4Eq, Data, Ord, Show
Eq ListSpacingDefined in commonmark-0.2.6 · Commonmark.TypesData ListSpacingDefined in commonmark-0.2.6 · Commonmark.TypesOrd ListSpacingDefined in commonmark-0.2.6 · Commonmark.TypesShow ListSpacingDefined in commonmark-0.2.6 · Commonmark.Types
Constructors
Instances4Eq, Data, Ord, Show
Eq DelimiterTypeDefined in commonmark-0.2.6 · Commonmark.TypesData DelimiterTypeDefined in commonmark-0.2.6 · Commonmark.TypesOrd DelimiterTypeDefined in commonmark-0.2.6 · Commonmark.TypesShow DelimiterTypeDefined in commonmark-0.2.6 · Commonmark.Types
Instances4Eq, Data, Ord, Show
Eq EnumeratorTypeDefined in commonmark-0.2.6 · Commonmark.TypesData EnumeratorTypeDefined in commonmark-0.2.6 · Commonmark.TypesOrd EnumeratorTypeDefined in commonmark-0.2.6 · Commonmark.TypesShow EnumeratorTypeDefined in commonmark-0.2.6 · Commonmark.Types
class
class (Monoid b, Show b, Rangeable b, IsInline il, HasAttributes b) => IsBlock il b | b -> il whereMethods
paragraph :: il -> bplain :: il -> bthematicBreak :: bblockQuote :: b -> bcodeBlock :: Text -> Text -> bheading :: Int -> il -> brawBlock :: Format -> Text -> breferenceLinkDefinition :: Text -> (Text, Text) -> blist :: ListType -> ListSpacing -> [b] -> b
Instances2IsBlock
IsInline (Html a) => IsBlock (Html a) (Html a)Defined in commonmark-0.2.6 · Commonmark.Html(IsBlock b a, IsInline b, IsInline (WithSourceMap b), Semigroup a) => IsBlock (WithSourceMap b) (WithSourceMap a)Defined in commonmark-0.2.6 · Commonmark.SourceMap
Constructors
Instances7Eq, Data, Ord, Show, Semigroup, Monoid, …
Eq SourceRangeDefined in commonmark-0.2.6 · Commonmark.TypesData SourceRangeDefined in commonmark-0.2.6 · Commonmark.TypesOrd SourceRangeDefined in commonmark-0.2.6 · Commonmark.TypesShow SourceRangeDefined in commonmark-0.2.6 · Commonmark.TypesSemigroup SourceRangeDefined in commonmark-0.2.6 · Commonmark.TypesMonoid SourceRangeDefined in commonmark-0.2.6 · Commonmark.TypesRangeable (Html SourceRange)Defined in commonmark-0.2.6 · Commonmark.Html
Methods
ranged :: SourceRange -> a -> a
Instances3Rangeable
Rangeable (Html SourceRange)Defined in commonmark-0.2.6 · Commonmark.HtmlRangeable (Html ())Defined in commonmark-0.2.6 · Commonmark.Html(Rangeable a, Monoid a, Show a) => Rangeable (WithSourceMap a)Defined in commonmark-0.2.6 · Commonmark.SourceMap
Methods
addAttributes :: Attributes -> a -> a
Instances2HasAttributes
HasAttributes (Html a)Defined in commonmark-0.2.6 · Commonmark.HtmlHasAttributes (WithSourceMap a)Defined in commonmark-0.2.6 · Commonmark.SourceMap
Methods
toPlainText :: a -> Text
Instances2ToPlainText
ToPlainText (Html a)Defined in commonmark-0.2.6 · Commonmark.HtmlToPlainText a => ToPlainText (WithSourceMap a)Defined in commonmark-0.2.6 · Commonmark.SourceMap
Re-exports
4 declarationsExtracts the column number from a source position.
Extracts the line number from a source position.
Extracts the name of the source from a source position.