Skip to content

Commit e4008f3

Browse files
authored
Update mkdocs.yml
1 parent d63fe51 commit e4008f3

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

mkdocs.yml

+5-10
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,16 @@ markdown_extensions:
4242
- footnotes
4343
- attr_list
4444
- md_in_html
45+
- pymdownx.arithmatex:
46+
generic: true
4547
- pymdownx.snippets:
4648
check_paths: true
4749
- pymdownx.emoji:
4850
emoji_index: !!python/name:material.extensions.emoji.twemoji
4951
emoji_generator: !!python/name:material.extensions.emoji.to_svg
52+
extra_javascript:
53+
- javascripts/mathjax.js
54+
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
5055
nav:
5156
- Overview: index.md
5257
- Leaderboard: leaderboard.md
@@ -63,13 +68,3 @@ plugins:
6368
repo_url: https://github.com/scicode-bench/website-draft
6469
repo_name: sicode-bench/website-draft
6570
edit_uri: edit/main/docs/
66-
document$.subscribe(({ body }) => {
67-
renderMathInElement(body, {
68-
delimiters: [
69-
{ left: "$$", right: "$$", display: true },
70-
{ left: "$", right: "$", display: false },
71-
{ left: "\\(", right: "\\)", display: false },
72-
{ left: "\\[", right: "\\]", display: true }
73-
],
74-
})
75-
})

0 commit comments

Comments
 (0)