Text.Jira.Parser.Block

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.Block

Contents

- Parsers for block types

Description

Parse Jira wiki blocks.

Synopsis

- block :: JiraParser Block
- blockQuote :: JiraParser Block
- code :: JiraParser Block
- color :: JiraParser Block
- header :: JiraParser Block
- horizontalRule :: JiraParser Block
- list :: JiraParser Block
- noformat :: JiraParser Block
- panel :: JiraParser Block
- para :: JiraParser Block
- table :: JiraParser Block

# Documentation

block :: JiraParser Block #

Parses any block element.

# Parsers for block types

blockQuote :: JiraParser Block #

Parses a block quote into a ``Quote`` element.

code :: JiraParser Block #

Parses a code block into a `Code` element.

color :: JiraParser Block #

Parses colored text into a ``Color`` element.

header :: JiraParser Block #

Parses a header line into a `Header`.

horizontalRule :: JiraParser Block #

Parses four consecutive hyphens as ``HorizontalRule``.

list :: JiraParser Block #

Parses a list into `List`.

noformat :: JiraParser Block #

Parses a preformatted text into a `NoFormat` element.

panel :: JiraParser Block #

Parses a preformatted text into a `NoFormat` element.

para :: JiraParser Block #

Parses a paragraph into a `Para`.

table :: JiraParser Block #

Parses a table into a `Table` element.