---
source: crates/lex-babel/tests/markdown/import.rs
expression: serialized
---
<document>
  <session>Comrak [https://comrak.ee/]
    <paragraph>1 line(s)
      <text-line>Build status [https://github.com/kivikakk/comrak/a…</text-line>
    </paragraph>
    <paragraph>1 line(s)
      <text-line>Comrak [https://comrak.ee/] is a CommonMark [https…</text-line>
    </paragraph>
    <paragraph>1 line(s)
      <text-line>Compliant with CommonMark 0.31.2 [https://spec.com…</text-line>
    </paragraph>
    <session>Installation
      <paragraph>1 line(s)
        <text-line>Specify it as a requirement in `Cargo.toml`:</text-line>
      </paragraph>
      <verbatim-block>
        <verbatim-group>
          <verbatim-line>[dependencies]</verbatim-line>
          <verbatim-line>comrak = &quot;0.48&quot;</verbatim-line>
        </verbatim-group>
      </verbatim-block>
      <paragraph>1 line(s)
        <text-line>Comrak&apos;s library supports Rust 1.70+.</text-line>
      </paragraph>
      <session>CLI
        <list>2 items
          <list-item>
            <marker>-</marker>
            <text></text>
            <paragraph>1 line(s)
              <text-line>Anywhere with a Rust toolchain:</text-line>
            </paragraph>
            <list>2 items
              <list-item>
                <marker>-</marker>
                <text></text>
                <paragraph>1 line(s)
                  <text-line>`cargo install comrak`</text-line>
                </paragraph>
              </list-item>
              <list-item>
                <marker>-</marker>
                <text></text>
                <paragraph>1 line(s)
                  <text-line>cargo binstall [https://github.com/cargo-bins/carg…</text-line>
                </paragraph>
              </list-item>
            </list>
          </list-item>
          <list-item>
            <marker>-</marker>
            <text></text>
            <paragraph>1 line(s)
              <text-line>Many Unix distributions:</text-line>
            </paragraph>
            <list>4 items
              <list-item>
                <marker>-</marker>
                <text></text>
                <paragraph>1 line(s)
                  <text-line>`pacman -S comrak`</text-line>
                </paragraph>
              </list-item>
              <list-item>
                <marker>-</marker>
                <text></text>
                <paragraph>1 line(s)
                  <text-line>`brew install comrak`</text-line>
                </paragraph>
              </list-item>
              <list-item>
                <marker>-</marker>
                <text></text>
                <paragraph>1 line(s)
                  <text-line>`dnf install comrak`</text-line>
                </paragraph>
              </list-item>
              <list-item>
                <marker>-</marker>
                <text></text>
                <paragraph>1 line(s)
                  <text-line>`nix run nixpkgs#comrak`</text-line>
                </paragraph>
              </list-item>
            </list>
          </list-item>
        </list>
        <paragraph>1 line(s)
          <text-line>You can also find builds I&apos;ve published in GitHub …</text-line>
        </paragraph>
      </session>
    </session>
    <session>Usage
      <verbatim-block>
        <verbatim-group>
          <verbatim-line>$ comrak --help</verbatim-line>
        </verbatim-group>
      </verbatim-block>
      <verbatim-block>
        <verbatim-group>
          <verbatim-line>A 100% CommonMark-compatible GitHub Flavored Markd…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>Usage: comrak [OPTIONS] [FILE]...</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>Arguments:</verbatim-line>
          <verbatim-line>  [FILE]...</verbatim-line>
          <verbatim-line>          CommonMark file(s) to parse; or standard…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>Options:</verbatim-line>
          <verbatim-line>  -c, --config-file &lt;PATH&gt;</verbatim-line>
          <verbatim-line>          Path to config file containing command-l…</verbatim-line>
          <verbatim-line>          </verbatim-line>
          <verbatim-line>          [default: /home/runner/.config/comrak/co…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>  -i, --inplace</verbatim-line>
          <verbatim-line>          Reformat a CommonMark file in-place</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --hardbreaks</verbatim-line>
          <verbatim-line>          Treat newlines as hard line breaks</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --smart</verbatim-line>
          <verbatim-line>          Replace punctuation like &quot;this&quot; with sma…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --github-pre-lang</verbatim-line>
          <verbatim-line>          Use GitHub-style &quot;&lt;pre lang&gt;&quot; for code b…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --full-info-string</verbatim-line>
          <verbatim-line>          Include words following the code block i…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --gfm</verbatim-line>
          <verbatim-line>          Enable GitHub-flavored markdown extensio…</verbatim-line>
          <verbatim-line>          tasklist. Also enables --github-pre-lang…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --gfm-quirks</verbatim-line>
          <verbatim-line>          Use GFM-style quirks in output HTML, suc…</verbatim-line>
          <verbatim-line>          breaks CommonMark compatibility</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --relaxed-tasklist-character</verbatim-line>
          <verbatim-line>          Permit any character inside a tasklist i…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --relaxed-autolinks</verbatim-line>
          <verbatim-line>          Relax autolink parsing: allows links to …</verbatim-line>
          <verbatim-line>          schemes, and permits domains without a T…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --tasklist-classes</verbatim-line>
          <verbatim-line>          Include &quot;task-list-item&quot; and &quot;task-list-…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --default-info-string &lt;INFO&gt;</verbatim-line>
          <verbatim-line>          Default value for fenced code block&apos;s in…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --unsafe</verbatim-line>
          <verbatim-line>          Allow inline and block HTML (unless --es…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --gemoji</verbatim-line>
          <verbatim-line>          Translate gemoji like &quot;:thumbsup:&quot; into …</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --escape</verbatim-line>
          <verbatim-line>          Escape raw HTML, instead of clobbering i…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --escaped-char-spans</verbatim-line>
          <verbatim-line>          Wrap escaped Markdown characters in &quot;&lt;sp…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>  -e, --extension &lt;EXTENSION&gt;</verbatim-line>
          <verbatim-line>          Specify extensions to use</verbatim-line>
          <verbatim-line>          </verbatim-line>
          <verbatim-line>          Multiple extensions can be delimited wit…</verbatim-line>
          <verbatim-line>          you can pass --extension/-e multiple tim…</verbatim-line>
          <verbatim-line>          </verbatim-line>
          <verbatim-line>          [possible values: strikethrough, tagfilt…</verbatim-line>
          <verbatim-line>          footnotes, inline-footnotes, description…</verbatim-line>
          <verbatim-line>          math-code, wikilinks-title-after-pipe, w…</verbatim-line>
          <verbatim-line>          spoiler, greentext, alerts, cjk-friendly…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>  -t, --to &lt;FORMAT&gt;</verbatim-line>
          <verbatim-line>          Specify output format</verbatim-line>
          <verbatim-line>          </verbatim-line>
          <verbatim-line>          [default: html]</verbatim-line>
          <verbatim-line>          [possible values: html, xml, commonmark]</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>  -o, --output &lt;FILE&gt;</verbatim-line>
          <verbatim-line>          Write output to FILE instead of stdout</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --width &lt;WIDTH&gt;</verbatim-line>
          <verbatim-line>          Specify wrap width for output CommonMark…</verbatim-line>
          <verbatim-line>          </verbatim-line>
          <verbatim-line>          [default: 0]</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --header-ids &lt;PREFIX&gt;</verbatim-line>
          <verbatim-line>          Use the Comrak header IDs extension, wit…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --front-matter-delimiter &lt;DELIMITER&gt;</verbatim-line>
          <verbatim-line>          Detect frontmatter that starts and ends …</verbatim-line>
          <verbatim-line>          the resulting document</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --syntax-highlighting &lt;THEME&gt;</verbatim-line>
          <verbatim-line>          Syntax highlighting theme for fenced cod…</verbatim-line>
          <verbatim-line>          </verbatim-line>
          <verbatim-line>          [default: base16-ocean.dark]</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --list-style &lt;LIST_STYLE&gt;</verbatim-line>
          <verbatim-line>          Specify bullet character for lists (&quot;-&quot;,…</verbatim-line>
          <verbatim-line>          </verbatim-line>
          <verbatim-line>          [default: dash]</verbatim-line>
          <verbatim-line>          [possible values: dash, plus, star]</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --sourcepos</verbatim-line>
          <verbatim-line>          Include source position attributes in HT…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --ignore-setext</verbatim-line>
          <verbatim-line>          Do not parse setext headers</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --ignore-empty-links</verbatim-line>
          <verbatim-line>          Do not parse empty links</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>      --experimental-minimize-commonmark</verbatim-line>
          <verbatim-line>          Minimise escapes in CommonMark output us…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>  -h, --help</verbatim-line>
          <verbatim-line>          Print help information (use `-h` for a s…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>  -V, --version</verbatim-line>
          <verbatim-line>          Print version information</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>By default, Comrak will attempt to read command-li…</verbatim-line>
          <verbatim-line>--config-file. This behaviour can be disabled by p…</verbatim-line>
          <verbatim-line>the file does not exist.</verbatim-line>
        </verbatim-group>
      </verbatim-block>
      <paragraph>1 line(s)
        <text-line>And there&apos;s a Rust interface. You can use `comrak:…</text-line>
      </paragraph>
      <verbatim-block>
        <verbatim-group>
          <verbatim-line>use comrak::{markdown_to_html, Options};</verbatim-line>
          <verbatim-line>assert_eq!(</verbatim-line>
          <verbatim-line>    markdown_to_html(&quot;¡Olá, **世界**!&quot;, &amp;Options::de…</verbatim-line>
          <verbatim-line>    &quot;&lt;p&gt;¡Olá, &lt;strong&gt;世界&lt;/strong&gt;!&lt;/p&gt;\n&quot;</verbatim-line>
          <verbatim-line>);</verbatim-line>
        </verbatim-group>
      </verbatim-block>
      <paragraph>1 line(s)
        <text-line>Or you can parse the input into an AST yourself, m…</text-line>
      </paragraph>
      <verbatim-block>
        <verbatim-group>
          <verbatim-line>use comrak::nodes::NodeValue;</verbatim-line>
          <verbatim-line>use comrak::{format_html, parse_document, Arena, O…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>fn replace_text(document: &amp;str, orig_string: &amp;str,…</verbatim-line>
          <verbatim-line>    // The returned nodes are created in the suppl…</verbatim-line>
          <verbatim-line>    let arena = Arena::new();</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>    // Parse the document into a root `AstNode`</verbatim-line>
          <verbatim-line>    let root = parse_document(&amp;arena, document, &amp;O…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>    // Iterate over all the descendants of root.</verbatim-line>
          <verbatim-line>    for node in root.descendants() {</verbatim-line>
          <verbatim-line>        if let NodeValue::Text(ref mut text) = nod…</verbatim-line>
          <verbatim-line>            // If the node is a text node, perform…</verbatim-line>
          <verbatim-line>            *text = text.to_mut().replace(orig_str…</verbatim-line>
          <verbatim-line>        }</verbatim-line>
          <verbatim-line>    }</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>    let mut html = String::new();</verbatim-line>
          <verbatim-line>    format_html(root, &amp;Options::default(), &amp;mut ht…</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>    html</verbatim-line>
          <verbatim-line>}</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>fn main() {</verbatim-line>
          <verbatim-line>    let doc = &quot;Hello, pretty world!\n\n1. Do you l…</verbatim-line>
          <verbatim-line>    let orig = &quot;pretty&quot;;</verbatim-line>
          <verbatim-line>    let repl = &quot;beautiful&quot;;</verbatim-line>
          <verbatim-line>    let html = replace_text(doc, orig, repl);</verbatim-line>
          <verbatim-line></verbatim-line>
          <verbatim-line>    println!(&quot;{}&quot;, html);</verbatim-line>
          <verbatim-line>    // Output:</verbatim-line>
          <verbatim-line>    //</verbatim-line>
          <verbatim-line>    // &lt;p&gt;Hello, beautiful world!&lt;/p&gt;</verbatim-line>
          <verbatim-line>    // &lt;ol&gt;</verbatim-line>
          <verbatim-line>    // &lt;li&gt;Do you like &lt;a href=&quot;#&quot;&gt;beautiful&lt;/a&gt; p…</verbatim-line>
          <verbatim-line>    // &lt;li&gt;Or &lt;em&gt;beautiful&lt;/em&gt; music?&lt;/li&gt;</verbatim-line>
          <verbatim-line>    // &lt;/ol&gt;</verbatim-line>
          <verbatim-line>}</verbatim-line>
        </verbatim-group>
      </verbatim-block>
      <paragraph>1 line(s)
        <text-line>For a slightly more real-world example, see how I …</text-line>
      </paragraph>
    </session>
    <session>Security
      <paragraph>1 line(s)
        <text-line>As with  [https://github.com/commonmark/cmark] and…</text-line>
      </paragraph>
      <paragraph>1 line(s)
        <text-line>To allow these, use the `r#unsafe` option (or `--u…</text-line>
      </paragraph>
    </session>
    <session>Extensions
      <paragraph>1 line(s)
        <text-line>Comrak supports the five extensions to CommonMark …</text-line>
      </paragraph>
      <list>5 items
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Tables [https://github.github.com/gfm/#tables-exte…</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Task list items [https://github.github.com/gfm/#ta…</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Strikethrough [https://github.github.com/gfm/#stri…</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Autolinks [https://github.github.com/gfm/#autolink…</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Disallowed Raw HTML [https://github.github.com/gfm…</text-line>
          </paragraph>
        </list-item>
      </list>
      <paragraph>1 line(s)
        <text-line>Comrak additionally supports its own extensions, w…</text-line>
      </paragraph>
      <list>14 items
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Superscript</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Header IDs</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Footnotes</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Inline footnotes</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Description lists</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Front matter</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Multi-line blockquotes</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Math</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Emoji shortcodes</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Wikilinks</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Underline</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Spoiler text</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>&quot;Greentext&quot;</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>CJK friendly emphasis [https://github.com/tats-u/m…</text-line>
          </paragraph>
        </list-item>
      </list>
      <paragraph>1 line(s)
        <text-line>By default none are enabled; they are individually…</text-line>
      </paragraph>
    </session>
    <session>Custom formatting
      <paragraph>1 line(s)
        <text-line>The default HTML formatter can be partially specia…</text-line>
      </paragraph>
    </session>
    <session>Plugins
      <session>Fenced code block syntax highlighting
        <paragraph>1 line(s)
          <text-line>You can provide your own syntax highlighting engin…</text-line>
        </paragraph>
        <paragraph>1 line(s)
          <text-line>Create an implementation of the `SyntaxHighlighter…</text-line>
        </paragraph>
        <paragraph>1 line(s)
          <text-line>See the `syntax_highlighter.rs` and `syntect.rs` e…</text-line>
        </paragraph>
        <session>Syntect
          <paragraph>1 line(s)
            <text-line> [https://github.com/trishume/syntect] is a syntax…</text-line>
          </paragraph>
        </session>
      </session>
    </session>
    <session>Related projects
      <paragraph>1 line(s)
        <text-line>Comrak&apos;s original design goal was to model the ups…</text-line>
      </paragraph>
      <paragraph>1 line(s)
        <text-line>Over the years, we have increasingly opted to fix …</text-line>
      </paragraph>
      <paragraph>1 line(s)
        <text-line>This library offers an AST backed by  [https://git…</text-line>
      </paragraph>
      <paragraph>1 line(s)
        <text-line>For whatever reason, Comrak may not meet your requ…</text-line>
      </paragraph>
      <list>5 items
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Raph Levien [https://github.com/raphlinus]&apos;s  [htt…</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>markdown-rs [https://github.com/wooorm/markdown-rs…</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>markdown-it [https://github.com/markdown-it-rust/m…</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>babelmark [https://babelmark.github.io/] lets you …</text-line>
          </paragraph>
        </list-item>
        <list-item>
          <marker>-</marker>
          <text></text>
          <paragraph>1 line(s)
            <text-line>Know of another library? Please open a PR to add i…</text-line>
          </paragraph>
        </list-item>
      </list>
      <session>Bindings
        <list>5 items
          <list-item>
            <marker>-</marker>
            <text></text>
            <paragraph>1 line(s)
              <text-line>Commonmarker [https://github.com/gjtorikian/common…</text-line>
            </paragraph>
          </list-item>
          <list-item>
            <marker>-</marker>
            <text></text>
            <paragraph>1 line(s)
              <text-line>MDEx [https://github.com/leandrocp/mdex] — Elixir …</text-line>
            </paragraph>
          </list-item>
          <list-item>
            <marker>-</marker>
            <text></text>
            <paragraph>1 line(s)
              <text-line>comrak [https://github.com/lmmx/comrak] — Python b…</text-line>
            </paragraph>
          </list-item>
          <list-item>
            <marker>-</marker>
            <text></text>
            <paragraph>1 line(s)
              <text-line>comrak-ext [https://github.com/Martin005/comrak-ex…</text-line>
            </paragraph>
          </list-item>
          <list-item>
            <marker>-</marker>
            <text></text>
            <paragraph>1 line(s)
              <text-line>comrak-wasm [https://github.com/nberlette/comrak-w…</text-line>
            </paragraph>
          </list-item>
        </list>
      </session>
      <session>Users
        <paragraph>1 line(s)
          <text-line>Comrak is used in a few Rust-y places, and more be…</text-line>
        </paragraph>
        <list>6 items
          <list-item>
            <marker>-</marker>
            <text></text>
            <paragraph>1 line(s)
              <text-line>crates.io [https://crates.io], docs.rs [https://do…</text-line>
            </paragraph>
          </list-item>
          <list-item>
            <marker>-</marker>
            <text></text>
            <paragraph>1 line(s)
              <text-line>GitLab [https://gitlab.com] uses Comrak to render …</text-line>
            </paragraph>
          </list-item>
          <list-item>
            <marker>-</marker>
            <text></text>
            <paragraph>1 line(s)
              <text-line>Deno [https://deno.com] uses Comrak to render docu…</text-line>
            </paragraph>
          </list-item>
          <list-item>
            <marker>-</marker>
            <text></text>
            <paragraph>1 line(s)
              <text-line>Reddit [https://reddit.com]&apos;s new-style site uses …</text-line>
            </paragraph>
          </list-item>
          <list-item>
            <marker>-</marker>
            <text></text>
            <paragraph>1 line(s)
              <text-line>Lockbook [https://lockbook.net/] is a Markdown-bas…</text-line>
            </paragraph>
          </list-item>
          <list-item>
            <marker>-</marker>
            <text></text>
            <paragraph>1 line(s)
              <text-line>many [https://github.com/kivikakk/comrak/network/d…</text-line>
            </paragraph>
          </list-item>
        </list>
        <paragraph>1 line(s)
          <text-line>I&apos;d be really happy to add your site or app here, …</text-line>
        </paragraph>
        <paragraph>1 line(s)
          <text-line>[^reddit]: And they contributed some really nice c…</text-line>
        </paragraph>
      </session>
    </session>
    <session>Benchmarking
      <paragraph>1 line(s)
        <text-line>We offer some tools to perform stdin-to-stdout ben…</text-line>
      </paragraph>
      <paragraph>1 line(s)
        <text-line>You&apos;ll need to install hyperfine [https://github.c…</text-line>
      </paragraph>
      <paragraph>1 line(s)
        <text-line>If you want to just run the benchmark for the `com…</text-line>
      </paragraph>
      <verbatim-block>
        <verbatim-group>
          <verbatim-line>make bench-comrak</verbatim-line>
        </verbatim-group>
      </verbatim-block>
      <paragraph>1 line(s)
        <text-line>This will build Comrak in release mode, and run be…</text-line>
      </paragraph>
      <paragraph>1 line(s)
        <text-line>The `Makefile` also provides a way to run benchmar…</text-line>
      </paragraph>
      <verbatim-block>
        <verbatim-group>
          <verbatim-line>make bench-all</verbatim-line>
        </verbatim-group>
      </verbatim-block>
      <paragraph>1 line(s)
        <text-line>This will build and run benchmarks across all, and…</text-line>
      </paragraph>
    </session>
    <session>Contributing
      <paragraph>1 line(s)
        <text-line>Contributions are *highly encouraged*; if you&apos;d li…</text-line>
      </paragraph>
      <paragraph>1 line(s)
        <text-line>Where possible I practice Optimistic Merging [http…</text-line>
      </paragraph>
      <paragraph>1 line(s)
        <text-line>Thank you to Comrak&apos;s many contributors for PRs an…</text-line>
      </paragraph>
      <session>Code Contributors
        <paragraph>1 line(s)
          <text-line>Small chart showing Comrak contributors. [https://…</text-line>
        </paragraph>
      </session>
      <session>Financial Contributors
        <paragraph>1 line(s)
          <text-line>Since September 2025, the scope of my day job [htt…</text-line>
        </paragraph>
        <paragraph>1 line(s)
          <text-line>If you feel like you would like to do so anyway, h…</text-line>
        </paragraph>
      </session>
    </session>
    <session>Contact
      <paragraph>1 line(s)
        <text-line>Asherah Connor &lt;ashe kivikakk ee&gt;</text-line>
      </paragraph>
    </session>
    <session>Legal
      <paragraph>1 line(s)
        <text-line>Copyright (c) 2017–2025, Comrak contributors. Lice…</text-line>
      </paragraph>
      <paragraph>1 line(s)
        <text-line>`cmark` itself is is copyright (c) 2014, John MacF…</text-line>
      </paragraph>
      <paragraph>1 line(s)
        <text-line>See COPYING [COPYING] for all the details.</text-line>
      </paragraph>
    </session>
  </session>
</document>
