struct Wikicr::Markdown
- Wikicr::Markdown
- Struct
- Value
- Object
Included Modules
Defined in:
lib/wikimd/markdown.crlib/wikimd/render.cr
Constructors
Class Method Summary
-
.to_html(input : String, context : Page, index : Page::Index) : String
Page::Markdown.to_html("Test of [[internal-link]]", current_page, index_of_internal_links)
- .to_markdown(input : String, context : Page, index : Page::Index) : String
Instance Method Summary
-
#build : String
Build a new String which render a valid markdown from the wikimd
- #context : Page
- #context=(context : Page)
- #index : Page::Index
- #index=(index : Page::Index)
- #text : String
- #text=(text : String)
Constructor Detail
Class Method Detail
Page::Markdown.to_html("Test of [[internal-link]]", current_page, index_of_internal_links)