fix the "Permalink" anchor links to something usable w/just HTML

This commit is contained in:
Brian S. Stephan 2025-07-20 23:41:50 -05:00
parent 8518eaade0
commit 7bfd97c1d6
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
2 changed files with 25807 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,4 @@
#!/bin/bash
# either Pandoc mangled the permalinks throughout or they were done by JS in OG-CSRD,
# either way this fixes them
sed -E 's/\[\]\((.*) "Permalink"\)/ \[#\](\1)/' _tmp/ccsrd.md > _tmp/ccsrd.new.md