mathjax
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
window.MathJax = {
|
||||
tex: {
|
||||
inlineMath: [['\\(', '\\)']],
|
||||
displayMath: [['\\[', '\\]']],
|
||||
processEscapes: true,
|
||||
processEnvironments: true
|
||||
},
|
||||
options: {
|
||||
ignoreHtmlClass: '.*|',
|
||||
processHtmlClass: 'arithmatex'
|
||||
}
|
||||
};
|
||||
|
||||
const mathJaxScript = document.createElement('script');
|
||||
mathJaxScript.src = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js';
|
||||
mathJaxScript.async = true;
|
||||
document.head.appendChild(mathJaxScript);
|
||||
+1
-3
@@ -90,7 +90,6 @@ nav = [
|
||||
] },
|
||||
{ "Async SQLA" = [
|
||||
{ "Overview" = "skills/async-fastapi-sqlmodel/SKILL.md" },
|
||||
{ "Index" = "skills/async-fastapi-sqlmodel/references/index.md" },
|
||||
{ "Engine" = "skills/async-fastapi-sqlmodel/references/engine.md" },
|
||||
{ "Session" = "skills/async-fastapi-sqlmodel/references/session.md" },
|
||||
{ "Tx" = "skills/async-fastapi-sqlmodel/references/transactions.md" },
|
||||
@@ -140,7 +139,6 @@ nav = [
|
||||
] },
|
||||
{ "Zensical" = [
|
||||
{ "Overview" = "skills/zensical-docs/SKILL.md" },
|
||||
{ "Map" = "skills/zensical-docs/references/index.md" },
|
||||
{ "Features" = "skills/zensical-docs/references/zensical-features.md" },
|
||||
{ "Theme" = "skills/zensical-docs/references/theme-customization-and-icons.md" },
|
||||
{ "Quality" = "skills/zensical-docs/references/documentation-quality.md" },
|
||||
@@ -166,7 +164,7 @@ extra_css = ["stylesheets/mermaid-override.css"]
|
||||
# The path provided should be relative to the "docs_dir".
|
||||
#
|
||||
# Read more: https://zensical.org/docs/customization/#additional-javascript
|
||||
extra_javascript = ["javascripts/mermaid-override.js"]
|
||||
extra_javascript = ["javascripts/mermaid-override.js", "javascripts/mathjax.js"]
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Section for configuring theme options
|
||||
|
||||
Reference in New Issue
Block a user