build: add citation needed

for the bit
This commit is contained in:
snow flurry 2022-04-01 21:28:18 -07:00
parent 6fc7f2eb03
commit 4c5cb560c8

View file

@ -74,6 +74,10 @@ sub post_to_meta {
"<a class=\"fn\" onclick=\"fnClick(this)\" name=\"fn-$1\" href=\"#fn-$1-text\">[" . $ifn . "]</a>"
}egm;
$content{"body"} =~ s{\$cn\$}{
"<a class=\"fn\">[citation needed]</a>"
}egm;
$metadata{content} = $parser->markdown_to_html(
dialects => 'GitHub',
markdown => $content{"body"}