📝 docs: improve KaTeX documentation

This commit is contained in:
welpo 2023-07-08 00:56:32 +02:00
parent fcc2cafcdc
commit 1cd34b528e
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
6 changed files with 51 additions and 12 deletions

View file

@ -1,7 +1,7 @@
+++
title = "No mandatory JavaScript"
date = 2023-01-06
updated = 2023-07-07
updated = 2023-07-08
description = "JavaScript is only used when HTML and CSS aren't enough."
[taxonomies]
@ -17,6 +17,6 @@ This theme has no mandatory JavaScript. Optionally, it can load a minimal amount
These two settings can be applied in the `[extra]` section of your `config.toml` file.
KaTex support, which requires loading a 274 KB JavaScript file, can be activated for specific posts. This can be done by setting `katex = true` in the post's `[extra]` section of the post's front matter.
[KaTeX support](@/blog/markdown.md#katex), which requires loading a 274 KB JavaScript file, can be activated for specific posts. This can be done by setting `katex = true` in the post's `[extra]` section of the post's front matter.
Other than that, it's a fast site with HTML and CSS. Just the way (most of) the web should be :-)