prevent underscores from being converted to emphasis tags

This commit is contained in:
Sasserisop 2023-10-08 12:51:01 -06:00
parent a80588de31
commit a66b2b7373
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@
{{ $content := $content | replaceRE "\n" "\n\n" }}
{{ $content := $content | replaceRE $matrixBreak "\\\\\\\\\\\\\\\\" }}
<!--The above command replaces a \\ in content/*.md files with a \\\\ yes it looks silly-->
{{ $content := $content | replaceRE "_" "\\_"}}
<!-- The above replaces _ with \_ inorder to prevent hugo turning subscripts into <em> tags-->
<!--
====
TAGS