Text Formattingjemdoc-rs provides several inline formatting options. Basic FormattingMarkup
*Bold text*
/Italic text/ _Underlined text_ +Monospace text+ Renders as: Bold text, italic text, underlined text, monospace text. Combining StylesYou can nest formatting markers:
Special Characters
Quotesjemdoc-rs converts straight quotes into typographic (curly) quotes:
EscapingPrecede any special character with a backslash to output it literally:
Monospace with Percent SignsUse percent signs for monospace that preserves special characters inside: %<div class=“example”>% renders as: <div class="example"> Line Breaks and Paragraph BreaksA backslash-n (\n) forces a line break within a paragraph. A backslash-p (\p) forces a new paragraph mid-block. Like this — a new paragraph without blank lines in the source. CommentsLines starting with # are comments and do not appear in the output: # This is a comment---you cannot see it in the rendered page.The line above this paragraph is a comment in the source. The line above this paragraph is a comment in the source. Headingsjemdoc-rs supports four levels of headings using = signs:
= Page Title (H1)
== Section (H2) === Subsection (H3) ==== Sub-subsection (H4) This is H1This is H2This is H3This is H4In a .jemdoc source, if some level of headings is used directly after the # jemdoc: configurations without blank lines, it will also sets the browser window title unless overridden by the title directive. |