commonmark-0.2.6.1: Pure Haskell commonmark parser.

Safe Haskell | None
Language | Haskell2010

Commonmark.Tag

Synopsis

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

# Documentation

htmlTag :: forall (m :: Type -> Type) s. Monad m => ParsecT [Tok] s (StateT Enders m) [Tok] #

htmlOpenTag :: forall (m :: Type -> Type) s. Monad m => ParsecT [Tok] s m [Tok] #

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 :: forall (m :: Type -> Type) s. Monad m => ParsecT [Tok] s m [Tok] #

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 :: forall (m :: Type -> Type) s. Monad m => ParsecT [Tok] s m [Tok] #

htmlAttributeValue :: forall (m :: Type -> Type) s. Monad m => ParsecT [Tok] s m [Tok] #

htmlDoubleQuotedAttributeValue :: forall (m :: Type -> Type) s. Monad m => ParsecT [Tok] s m [Tok] #

data Enders #

#### Instances

Instances details

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

defaultEnders :: Enders #