himeno/mopress/markdown does not have a README file

    Markdown

    type Markdown = Array[Block]

    An Array is a collection of values that supports random access and can grow in size.

    Plainable

    pub trait Plainable {
    fn to_plain(self : Self) -> String
    }

    Types that can be rendered to a plain-text representation with all markup stripped.
    impl Plainable for Array[T]

    Block

    pub(all) enum Block {
    Heading(Int, Array[Inline])
    Paragraph(Array[Inline])
    ThematicBreak
    CodeBlock(String?, String)
    BlockQuote(Array[Block])
    List(ListBlock)
    HtmlBlock(String)
    Table(TableBlock)
    } derive(Eq,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    A single block-level Markdown element.
    impl Plainable for Block

    Block::equal

    fn Block::equal(Block, Block) -> Bool

    Block::not_equal

    fn Block::not_equal(x : Block, y : Block) -> Bool

    Block::to_json

    Block::to_plain

    fn Block::to_plain(self : Block) -> String

    Block::to_repr

    Inline

    pub(all) enum Inline {
    Text(String)
    Emphasis(Array[Inline])
    Strong(Array[Inline])
    Code(String)
    Link(Array[Inline], String)
    Image(String, String)
    Html(String)
    SoftBreak
    HardBreak
    } derive(Eq,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    A single inline-level Markdown element.
    impl Plainable for Inline

    Inline::equal

    fn Inline::equal(Inline, Inline) -> Bool

    Inline::not_equal

    fn Inline::not_equal(x : Inline, y : Inline) -> Bool

    Inline::to_json

    Inline::to_plain

    fn Inline::to_plain(self : Inline) -> String

    Inline::to_repr

    ListBlock

    pub(all) struct ListBlock {
    ordered : Bool
    start : Int?
    items : Array[Array[Block]]
    } derive(Eq,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    An ordered or unordered list block.

    ListBlock::equal

    fn ListBlock::equal(ListBlock, ListBlock) -> Bool

    ListBlock::not_equal

    fn ListBlock::not_equal(x : ListBlock, y : ListBlock) -> Bool

    ListBlock::to_json

    ListBlock::to_plain

    fn ListBlock::to_plain(self : ListBlock) -> String

    TableBlock

    A table block, with its header row and body rows, each cell holding inline content.

    TableBlock::equal

    fn TableBlock::equal(TableBlock, TableBlock) -> Bool

    TableBlock::not_equal

    fn TableBlock::not_equal(x : TableBlock, y : TableBlock) -> Bool

    TableBlock::to_json

    TableBlock::to_plain

    fn TableBlock::to_plain(self : TableBlock) -> String

    parse_markdown

    fn[T : Show] parse_markdown(input : T) -> Array[Block]

    Parses input (any Show-able value, typically a String of raw Markdown source) into a Markdown AST.

    Source Files