Replies: 1 comment 1 reply
-
Presumably the title is rendering after KaTeX runs (which according to your code, happens when the DOM content is loaded, but not after). How are you rendering your title? You could call auto-render afterwards, or when rendering the title, use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hallo... i want to ask about rendering katex on title blogger.
i uses auto rendering katex with that code on my blogger template and place before
<script crossorigin='anonymous' defer='defer' integrity='sha384-0fdwu/T/EQMsQlrHCCHoH10pkPLlKA1jL5dFyUOvB3lfeT2540/2g6YgSi2BL14p' src='https://cdn.jsdelivr.net/npm/katex@0.15.3/dist/katex.min.js'/> <script crossorigin='anonymous' defer='defer' integrity='sha384-+XBljXPPiv+OzfbB3cVmLHf4hdUFHlWNZN5spNQ7rmHTXpd7WvJum6fIACpNNfIR' src='https://cdn.jsdelivr.net/npm/katex@0.15.3/dist/contrib/auto-render.min.js'/> <script> document.addEventListener("DOMContentLoaded", function() { renderMathInElement(document.body, { // customised options // • auto-render specific keys, e.g.: delimiters: [ {left: '$$', right: '$$', display: true}, {left: '$', right: '$', display: false}, {left: '\\(', right: '\\)', display: false}, {left: '\\[', right: '\\]', display: true} ], // • rendering keys, e.g.: throwOnError : false }); }); </script>but not all link title has rendering likes picture above. all equation except title is rendering. how to fix it ?
Beta Was this translation helpful? Give feedback.
All reactions