added support for rendering \, and rebuilt css files

This commit is contained in:
Sasserisop 2023-10-14 17:43:13 -06:00
parent 19b962c219
commit 0b0a514216
2 changed files with 5 additions and 2 deletions

View File

@ -178,7 +178,7 @@ code {
overflow-x: hidden; } overflow-x: hidden; }
u { u {
text-decoration: none; text-decoration: underline;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, var(--accent-text-color) 50%); background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, var(--accent-text-color) 50%);
background-repeat: repeat-x; background-repeat: repeat-x;
background-size: 2px 2px; background-size: 2px 2px;

View File

@ -37,7 +37,10 @@
<!-- The above replaces _ with \_ inorder to prevent hugo turning subscripts into <em> tags--> <!-- The above replaces _ with \_ inorder to prevent hugo turning subscripts into <em> tags-->
{{ $content := $content | replaceRE "\\{" "\\{" }} {{ $content := $content | replaceRE "\\{" "\\{" }}
{{ $content := $content | replaceRE "\\}" "\\}" }} {{ $content := $content | replaceRE "\\}" "\\}" }}
<!-- the above two commands allow curly braces to show up properly, for example in Laplace transforms. --> <!-- the above two commands allow curly braces to show up properly, for example in Laplace
transforms. -->
{{ $content := $content | replaceRE "\\," "\\," }}
<!-- the above commands helps with keeping the perserving "\," Often used in integrals to make a small gap before the dx term.-->
<!-- <!--
==== ====
TAGS TAGS