prevent underscores from being converted to emphasis tags
This commit is contained in:
parent
a80588de31
commit
a66b2b7373
|
@ -33,6 +33,8 @@
|
||||||
{{ $content := $content | replaceRE "\n" "\n\n" }}
|
{{ $content := $content | replaceRE "\n" "\n\n" }}
|
||||||
{{ $content := $content | replaceRE $matrixBreak "\\\\\\\\\\\\\\\\" }}
|
{{ $content := $content | replaceRE $matrixBreak "\\\\\\\\\\\\\\\\" }}
|
||||||
<!--The above command replaces a \\ in content/*.md files with a \\\\ yes it looks silly-->
|
<!--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
|
TAGS
|
||||||
|
|
Loading…
Reference in New Issue