fix the "Permalink" anchor links to something usable w/just HTML
This commit is contained in:
parent
8518eaade0
commit
7bfd97c1d6
25803
patches/base/001-fix-anchor-permalinks.patch
Normal file
25803
patches/base/001-fix-anchor-permalinks.patch
Normal file
File diff suppressed because it is too large
Load Diff
4
scripts/base/001-fix-anchor-permalinks.sh
Executable file
4
scripts/base/001-fix-anchor-permalinks.sh
Executable 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
|
Loading…
x
Reference in New Issue
Block a user