class Mark::Renderer
- Mark::Renderer
- Reference
- Object
Overview
The markdown to HTML pipeline occurs here:
- reads markdown from source file(s)
- converts to HTML with template
- writes to target file
Example usage:
options = Mark::Options.new(["source.md"], {})
renderer = Mark::Renderer.new(options)
renderer.render
Defined in:
mark/renderer.crConstant Summary
-
EXTENSIONS =
["table", "strikethrough", "autolink", "tagfilter", "tasklist"]
-
FRONTMATTER_HEAD =
/^---\s*[\r\n]+/
-
FRONTMATTER_TAIL =
/[\r\n]+---\s*[\r\n]+/
-
OPTIONS =
["unsafe"]
Constructors
Instance Method Summary
-
#render
Reads markdown from source file(s).