Skip to content

Commit

Permalink
Escape dollar (#192)
Browse files Browse the repository at this point in the history
This makes PlutoStaticHTML escape dollar symbols when they were escaped
in Pluto too. This avoids having multiple dollar symbols in one line to
be interpreted as inline math. Doing these escapes are supported by at
least MathJax
(https://docs.mathjax.org/en/latest/input/tex/delimiters.html), but I'm
quite sure KaTeX too.
  • Loading branch information
rikhuijzer authored Jun 4, 2024
1 parent 4b23121 commit 4e48fb9
Show file tree
Hide file tree
Showing 7 changed files with 431 additions and 333 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PlutoStaticHTML"
uuid = "359b1769-a58e-495b-9770-312e911026ad"
authors = ["Rik Huijzer <github@huijzer.xyz>"]
version = "6.0.23"
version = "6.0.24"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ PlutoStaticHTML = "359b1769-a58e-495b-9770-312e911026ad"
PlutoUI = "7f904dfe-b85e-4ff6-b463-dae2292396a8"

[compat]
Documenter = "0.27"
Documenter = "1"
3 changes: 1 addition & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ mathengine = MathJax3()
prettyurls = get(ENV, "CI", nothing) == "true"
format = HTML(; mathengine, prettyurls)
modules = [PlutoStaticHTML]
strict = true
checkdocs = :none
makedocs(; sitename, pages, format, modules, strict, checkdocs)
makedocs(; sitename, pages, format, modules, checkdocs)

deploydocs(;
branch="docs-output",
Expand Down
Loading

0 comments on commit 4e48fb9

Please sign in to comment.