docs/fix-links: pandoc markdown -> gfm

We are essentially writing GFM e.g. inline HTML comments and GFM alerts.
So tell pandoc to parse/render as such. This resolves issues such as:
`> [!TIP]` being escaped to `> \[!TIP\]`.
This commit is contained in:
Matt Sturgeon 2025-02-24 14:35:45 +00:00
parent 4b0de83c39
commit 977b7a9fa3
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -26,8 +26,8 @@ runCommand (src.name or (builtins.baseNameOf src))
pandoc \
--output $out \
--from markdown \
--to markdown-raw_attribute \
--from gfm \
--to gfm \
--lua-filter filter.lua \
$src
''