From 977b7a9fa3fb87098de1841ed14ce3d004d7a125 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Mon, 24 Feb 2025 14:35:45 +0000 Subject: [PATCH] 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\]`. --- docs/fix-links/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/fix-links/default.nix b/docs/fix-links/default.nix index 32bf7fe8..4d01c651 100644 --- a/docs/fix-links/default.nix +++ b/docs/fix-links/default.nix @@ -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 ''