tweak for trailing footnote removal in gemini

This commit is contained in:
John Bowdre 2024-02-26 23:10:30 -06:00
parent fe29a0bf1a
commit 8cf8ba7f78

View file

@ -5,7 +5,7 @@
{{ $content := $content | replaceRE `#### ` "### " -}}
{{ $content := $content | replaceRE `\n- (.+?)` "\n* $1" -}}
{{ $content := $content | replaceRE `\n(\d+). (.+?)` "\n* $2" -}}
{{ $content := $content | replaceRE `\[\^(.+?)\]:.*\n?\n` "" -}}
{{ $content := $content | replaceRE `\[\^(.+?)\]:.*\n?\n?` "" -}}
{{ $content := $content | replaceRE `\[\^(.+?)\]` "" -}}
{{ $content := $content | replaceRE `<br/??>` "\n" -}}
{{ $content := $content | replaceRE `\{\{%\s\/?notice.*%\}\}` "***" -}}