jira-wiki-markup-1.5.1: Handle Jira wiki markup

Copyright | © 2019–2023 Albert Krewinkel
License | MIT
Maintainer | Albert Krewinkel <tarleb@zeitkraut.de>
Stability | alpha
Portability | portable
Safe Haskell | Safe-Inferred
Language | Haskell2010

Text.Jira.Parser.Inline

Contents

- Inline component parsers
- Constants

Description

Parse Jira wiki inline markup.

Synopsis

- inline :: JiraParser Inline
- anchor :: JiraParser Inline
- autolink :: JiraParser Inline
- citation :: JiraParser Inline
- colorInline :: JiraParser Inline
- dash :: JiraParser Inline
- emoji :: JiraParser Inline
- entity :: JiraParser Inline
- image :: JiraParser Inline
- linebreak :: JiraParser Inline
- link :: JiraParser Inline
- monospaced :: JiraParser Inline
- specialChar :: JiraParser Inline
- str :: JiraParser Inline
- styled :: JiraParser Inline
- whitespace :: JiraParser Inline
- specialChars :: String

# Documentation

inline :: JiraParser Inline Source #

Parses any inline element.

# Inline component parsers

anchor :: JiraParser Inline Source #

Parses an anchor into an `Anchor` element.

autolink :: JiraParser Inline Source #

Parse a plain URL or mail address as ``AutoLink`` element.

citation :: JiraParser Inline Source #

colorInline :: JiraParser Inline Source #

Text in a different color.

dash :: JiraParser Inline Source #

Parses ASCII representation of en-dash or em-dash.

emoji :: JiraParser Inline Source #

Parses textual representation of an icon into an ``Emoji`` element.

entity :: JiraParser Inline Source #

Parses an HTML entity into an ``Entity`` element.

image :: JiraParser Inline Source #

Parse image into an `Image` element.

linebreak :: JiraParser Inline Source #

Parses an in-paragraph newline as a `Linebreak` element. Both newline characters and double-backslash are recognized as line-breaks.

link :: JiraParser Inline Source #

Parse link into a `Link` element.

monospaced :: JiraParser Inline Source #

Parses monospaced text into `Monospaced`.

specialChar :: JiraParser Inline Source #

Parses a special character symbol as a `SpecialChar`.

str :: JiraParser Inline Source #

Parses a simple, markup-less string into a `Str` element.

styled :: JiraParser Inline Source #

Parses styled text

whitespace :: JiraParser Inline Source #

Parses whitespace and return a `Space` element.

# Constants

specialChars :: String Source #

Characters which, depending on context, can have a special meaning.