Copyright | © 2019 Albert Krewinkel |
---|---|
License | MIT |
Maintainer | Albert Krewinkel <tarleb@zeitkraut.de> |
Stability | alpha |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Jira markup types.
Synopsis
- newtype Doc = Doc {}
- data Block
- data Inline
- data InlineStyle
- data ListStyle
- newtype URL = URL {}
- newtype ColorName = ColorName Text
- data Icon
- newtype Row = Row {}
- data Cell
- = BodyCell [Block]
- | HeaderCell [Block]
- newtype Language = Language Text
- data Parameter = Parameter {}
- normalizeInlines :: [Inline] -> [Inline]
- iconText :: Icon -> Text
Documentation
Blocks of text.
Code Language [Parameter] Text | Code block with panel parameters |
Color ColorName [Block] | text displayed in a specific color |
BlockQuote [Block] | Block of quoted content |
Header Int [Inline] | Header with level and text |
HorizontalRule | horizontal ruler |
List ListStyle [[Block]] | List |
NoFormat [Parameter] Text | Unformatted text |
Panel [Parameter] [Block] | Formatted panel |
Para [Inline] | Paragraph of text |
Table [Row] | Table |
Inline Jira markup elements.
Anchor Text | anchor for internal links |
AutoLink URL | URL which is also a link |
Emoji Icon | emoticon |
Entity Text | named or numeric HTML entity |
Image [Parameter] URL | an image |
Linebreak | hard linebreak |
Link [Inline] URL | hyperlink with alias |
Monospaced [Inline] | text rendered with monospaced font |
Space | space between words |
SpecialChar Char | single char with special meaning |
Str Text | simple, markup-less string |
Styled InlineStyle [Inline] | styled text |
data InlineStyle Source #
Supported inline text effect styles.
Emphasis | emphasized text |
Insert | text marked as having been inserted |
Strikeout | deleted (struk-out) text |
Strong | strongly emphasized text |
Subscript | subscript text |
Superscript | superscript text |
Instances
Eq InlineStyle Source # | |
Defined in Text.Jira.Markup (==) :: InlineStyle -> InlineStyle -> Bool # (/=) :: InlineStyle -> InlineStyle -> Bool # | |
Ord InlineStyle Source # | |
Defined in Text.Jira.Markup compare :: InlineStyle -> InlineStyle -> Ordering # (<) :: InlineStyle -> InlineStyle -> Bool # (<=) :: InlineStyle -> InlineStyle -> Bool # (>) :: InlineStyle -> InlineStyle -> Bool # (>=) :: InlineStyle -> InlineStyle -> Bool # max :: InlineStyle -> InlineStyle -> InlineStyle # min :: InlineStyle -> InlineStyle -> InlineStyle # | |
Show InlineStyle Source # | |
Defined in Text.Jira.Markup showsPrec :: Int -> InlineStyle -> ShowS # show :: InlineStyle -> String # showList :: [InlineStyle] -> ShowS # |
Style used for list items.
CircleBullets | List with round bullets |
SquareBullets | List with square bullets |
Enumeration | Enumeration, i.e., numbered items |
Text color
Graphical emoticons
Table row, containing an arbitrary number of cells.
Table cell with block content
BodyCell [Block] | |
HeaderCell [Block] |
Programming language used for syntax highlighting.
Panel parameter
normalizeInlines :: [Inline] -> [Inline] Source #
Normalize a list of inlines, merging elements where possible.