GemtextToHTML.DefaultComponents (gemtext_to_html v0.1.0)
Renders very basic unstyled HTML elements.
This exists primarily for simple use-cases, testing, and as a reference implementation.
options
Options
:empty_lines
- how to render empty lines of text::ignore
- do not render empty lines (default):br
- render empty lines as<br />
:p
- render empty lines as<p />
Link to this section Summary
Functions
Callback implementation for GemtextToHTML.Components.h1/1
.
Callback implementation for GemtextToHTML.Components.h2/1
.
Callback implementation for GemtextToHTML.Components.h3/1
.
Callback implementation for GemtextToHTML.Components.link/1
.
Callback implementation for GemtextToHTML.Components.list/1
.
Callback implementation for GemtextToHTML.Components.pre/1
.
Callback implementation for GemtextToHTML.Components.quote/1
.
Callback implementation for GemtextToHTML.Components.text/1
.
Link to this section Functions
h1(assigns)
Callback implementation for GemtextToHTML.Components.h1/1
.
h2(assigns)
Callback implementation for GemtextToHTML.Components.h2/1
.
h3(assigns)
Callback implementation for GemtextToHTML.Components.h3/1
.
link(assigns)
Callback implementation for GemtextToHTML.Components.link/1
.
list(assigns)
Callback implementation for GemtextToHTML.Components.list/1
.
pre(assigns)
Callback implementation for GemtextToHTML.Components.pre/1
.
quote(assigns)
Callback implementation for GemtextToHTML.Components.quote/1
.
text(assigns)
Callback implementation for GemtextToHTML.Components.text/1
.