Module restia.markdown
Markdown auxiliary module.
Allows rendering markdown files directly into the document.
Info:
- License: Unlicense
- Author: DarkWiiPlayer
Functions
load (document[, cache=false]) | Renders a markdown file. |
Local Functions
parsemd (markdown) | Parses markdown into HTML |
parsemdfile (path) | Parses a markdown file. |
Functions
- load (document[, cache=false])
-
Renders a markdown file.
Parameters:
- document string Markdown file (without extension) to load
- cache boolean Whether to cache the template (default false)
Usage:
restia.markdown('content')