struct

Wikicr::Markdown

Inherits Wikicr::Markdown::Render / Struct / Value / Object

Constructors

new(text : String, context : Wikicr::Page, index : Wikicr::Page::Index)
Source

Class methods

to_html(input : String, context : Page, index : Page::Index) : String
Page::Markdown.to_html("Test of [[internal-link]]", current_page, index_of_internal_links)
Source
to_markdown(input : String, context : Page, index : Page::Index) : String
Source

Instance methods

build

Build a new String which render a valid markdown from the wikimd

Source
context
Source
context=(context : Page)
Source
index
Source
index=(index : Page::Index)
Source
text
Source
text=(text : String)
Source

Nested types