Snippets about markdown

5 snippets

Back to all snippets

  1. SNP144

    Images in Stati Markdown and layouts

    Where image paths point, what Stati adds to the images, and stati.image() for covers.

    7 lines of md, eta and ts in 3 blocks, 20 lines of explanation with 4 notes.

  2. SNP116

    Mermaid sequence diagram quick reference

    The handful of arrows and blocks I keep looking up.

    14 lines of mmd in 1 block, 7 lines of explanation with 5 notes.

  3. SNP075

    Callout boxes in Stati Markdown

    GitHub's > [!NOTE] syntax as a small markdown-it rule.

    39 lines of js, ts, md and css in 4 blocks, 4 lines of explanation.

  4. SNP073

    Add markdown-it plugins to Stati

    Footnotes, containers and emoji, and the plugin that has to go through configure instead.

    26 lines of sh, ts and md in 3 blocks, 12 lines of explanation with 4 notes.

  5. SNP069

    Highlight code with Shiki in Stati

    Build-time syntax highlighting with Shiki, ready before Stati's synchronous markdown.configure runs.

    27 lines of sh, js and ts in 3 blocks, 11 lines of explanation with 3 notes.