docs: add embedded Mermaid recipe #129

Merged
barrettruth merged 1 commit from docs/mermaid-recipe into main 2026-07-24 18:47:12 +00:00
Owner

Problem

The Markdown presets intentionally stay minimal, but users who want fenced Mermaid diagrams do not have an example showing how to extend Pandoc without replacing a preset.

Solution

Document a vimdoc recipe that supplies a Mermaid.js header fragment through extra_args and Pandoc's --include-in-header option. The recipe applies to both the github and markdown presets and notes the local-module alternative for offline use.

## Problem The Markdown presets intentionally stay minimal, but users who want fenced Mermaid diagrams do not have an example showing how to extend Pandoc without replacing a preset. ## Solution Document a vimdoc recipe that supplies a Mermaid.js header fragment through `extra_args` and Pandoc's `--include-in-header` option. The recipe applies to both the `github` and `markdown` presets and notes the local-module alternative for offline use.
docs: add embedded Mermaid recipe
All checks were successful
quality / Test (pull_request) Successful in 4s
quality / Lint (pull_request) Successful in 6s
quality / Format (pull_request) Successful in 9s
516390465f
barrettruth deleted branch docs/mermaid-recipe 2026-07-24 18:47:12 +00:00
Sign in to join this conversation.
No description provided.