commonmark-0.2.6.1: Pure Haskell commonmark parser.

Safe Haskell | Safe-Inferred
Language | Haskell2010

Commonmark.Tag

Synopsis

- htmlTag :: Monad m => ParsecT [Tok] s (StateT Enders m) [Tok]
- htmlOpenTag :: Monad m => ParsecT [Tok] s m [Tok]
- htmlClosingTag :: Monad m => ParsecT [Tok] s m [Tok]
- htmlAttributeName :: Monad m => ParsecT [Tok] s m [Tok]
- htmlAttributeValue :: Monad m => ParsecT [Tok] s m [Tok]
- htmlDoubleQuotedAttributeValue :: Monad m => ParsecT [Tok] s m [Tok]
- data Enders
- defaultEnders :: Enders

# Documentation

htmlTag :: Monad m => ParsecT [Tok] s (StateT Enders m) [Tok] Source #

htmlOpenTag :: Monad m => ParsecT [Tok] s m [Tok] Source #

An open tag consists of a `<` character, a tag name, zero or more attributes, optional whitespace, an optional `/` character, and a `>` character. This parses assumes that the opening `<` has already been parsed.

htmlClosingTag :: Monad m => ParsecT [Tok] s m [Tok] Source #

A closing tag consists of the string `</`, a tag name, optional whitespace, and the character `>`. This parser assumes that the opening `<` has already been parsed.

htmlAttributeName :: Monad m => ParsecT [Tok] s m [Tok] Source #

htmlAttributeValue :: Monad m => ParsecT [Tok] s m [Tok] Source #

htmlDoubleQuotedAttributeValue :: Monad m => ParsecT [Tok] s m [Tok] Source #

data Enders Source #

#### Instances

Instances details

Show Enders Source # |
Instance details Defined in Commonmark.Tag Methods showsPrec :: Int -> Enders -> ShowS Source # show :: Enders -> String Source # showList :: [Enders] -> ShowS Source #

defaultEnders :: Enders Source #