Docs sync @ 571b6a3 Add FOAM_TITLE_SAFE variable (#1232) (#50)

This commit is contained in:
Riccardo
2023-06-08 12:41:08 +02:00
committed by GitHub
parent c2e89638cc
commit 0d6b710694
15 changed files with 25 additions and 16 deletions

View File

@ -50,5 +50,5 @@ In our case, we'll be using the latter tag to wrap our {% raw %}`{{ content }}`{
You may have noticed that we only made modifications to the template `_layouts/page.html`, which means that `_layouts/home.html` won't have KaTeX support. If you wan't to render math in Foam's home page, you'll need to make the same modifications to `_layouts/home.html` as well.
Finally, if all goes well, then our site hosted on Vercel will support rendering math equations with KaTeX after commiting these changes to GitHub. Here's a demo of the default template with KaTeX support: [Foam Template with KaTeX support](https://foam-template.vercel.app/).
Finally, if all goes well, then our site hosted on Vercel will support rendering math equations with KaTeX after committing these changes to GitHub. Here's a demo of the default template with KaTeX support: [Foam Template with KaTeX support](https://foam-template.vercel.app/).