We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca0dfec commit 5830666Copy full SHA for 5830666
1 file changed
shadcn/plugins/mixins/katex.py
@@ -25,8 +25,9 @@ class KatexMixin(Mixin):
25
def on_config(self, config: MkDocsConfig):
26
if "pymdownx.arithmatex" in config.markdown_extensions:
27
self.katex_mixin_activated = True
28
+ katex_options = config.theme.get("katex_options") or {}
29
self.katex_mixin_use_links = (
- config.theme.get("katex_options", {}).get(
30
+ katex_options.get(
31
"trust", None
32
) # trust could be boolean or function
33
is not None
0 commit comments