#!/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
