2022-02-20 15:24:08 +00:00
|
|
|
/*
|
2022-02-22 04:40:14 +00:00
|
|
|
* This file is for configing MathJax behavior.
|
|
|
|
* See https://docs.mathjax.org/en/latest/web/configuration.html
|
|
|
|
*
|
2022-02-20 15:24:08 +00:00
|
|
|
* This configuration is copied from old doc-gen3
|
|
|
|
* https://github.com/leanprover-community/doc-gen
|
|
|
|
*/
|
2022-02-17 19:27:00 +00:00
|
|
|
MathJax = {
|
2022-02-20 15:24:08 +00:00
|
|
|
tex: {
|
2022-02-22 04:40:14 +00:00
|
|
|
inlineMath: [["$", "$"]],
|
|
|
|
displayMath: [["$$", "$$"]],
|
2022-02-20 15:24:08 +00:00
|
|
|
},
|
|
|
|
options: {
|
|
|
|
skipHtmlTags: [
|
2022-02-22 04:40:14 +00:00
|
|
|
"script",
|
|
|
|
"noscript",
|
|
|
|
"style",
|
|
|
|
"textarea",
|
|
|
|
"pre",
|
|
|
|
"code",
|
|
|
|
"annotation",
|
|
|
|
"annotation-xml",
|
|
|
|
"decl",
|
|
|
|
"decl_meta",
|
|
|
|
"attributes",
|
|
|
|
"decl_args",
|
|
|
|
"decl_header",
|
|
|
|
"decl_name",
|
|
|
|
"decl_type",
|
|
|
|
"equation",
|
|
|
|
"equations",
|
|
|
|
"structure_field",
|
|
|
|
"structure_fields",
|
|
|
|
"constructor",
|
|
|
|
"constructors",
|
|
|
|
"instances",
|
2022-02-20 15:24:08 +00:00
|
|
|
],
|
2022-02-22 04:40:14 +00:00
|
|
|
ignoreHtmlClass: "tex2jax_ignore",
|
|
|
|
processHtmlClass: "tex2jax_process",
|
2022-02-20 15:24:08 +00:00
|
|
|
},
|
2022-02-22 04:40:14 +00:00
|
|
|
};
|