Procs
proc getAst(content: sink string): string {. ...raises: [OSError, ValueError, KeyError, Exception], tags: [ReadIOEffect, RootEffect], forbids: [].}
- Retrieve the Markdown AST as a stringified JSON
proc htmlCommand(v: Values) {....raises: [IOError, ValueError, KeyError, OSError, Exception], tags: [WriteIOEffect, ReadIOEffect, TimeEffect, RootEffect], forbids: [].}
- Convert Markdown to HTML via CLI
proc toHtml(content: sink string): owned string {. ...raises: [OSError, ValueError, KeyError, Exception], tags: [ReadIOEffect, RootEffect], forbids: [].}
- Convert Markdown content to HTML
proc toXML(content: sink string): XmlNode {. ...raises: [OSError, ValueError, KeyError, Exception], tags: [ReadIOEffect, RootEffect], forbids: [].}
- Convert Markdown content to XML Node
Exports
-
decodeHtmlEntities, lazyloadMediaSrc, getHeader, newParagraph, Markdown, getTitle, getFootnotes, newMarkdown, getSelectorItems, getSelectorsList, advance, TagType, MarkdownOptions, MarkdownParser, getSelectors, toJson, hasSelectors, toHtml, hasFootnotes, newRawHtml, MarkdownNodeKind, MarkdownNodeList, newImage, newHeading, newText, debugEcho, newLink, MarkdownNode, newComponentScope, ComponentScope, resolveVariables, preprocess, processHtmlContent, transformLines, hasSelectors, getSelectors, getSelectorItems, getTitle