Skip to content

Commit

Permalink
We don't need \href and \url links in KaTeX to work so disable "trust…
Browse files Browse the repository at this point in the history
…" setting.

Signed-off-by: Daira-Emma Hopwood <[email protected]>
  • Loading branch information
daira committed Mar 18, 2024
1 parent 4c08a4f commit b5acb42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ build-dir = "docs"
[preprocessor.katex]
macros = "src/macros.txt"
renderer = ["html"]
# This is needed in order for \href and \url links to work.
trust = true
# Uncomment this if we need \href and \url links in KaTeX to work (which we currently don't).
#trust = true

[output.html]
default-theme = "light"
Expand Down

0 comments on commit b5acb42

Please sign in to comment.