From 734ac9c838e82c064d38fbc4e9c89e27f82be170 Mon Sep 17 00:00:00 2001 From: Groupr Date: Tue, 11 Nov 2025 04:24:44 +0000 Subject: [PATCH] Update namespace.py Renamed mathjax column to katex in Column definition and PROTECTED_ATTRIBUTES dict. --- remarkbox/models/namespace.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/remarkbox/models/namespace.py b/remarkbox/models/namespace.py index a19107f..9f654b3 100644 --- a/remarkbox/models/namespace.py +++ b/remarkbox/models/namespace.py @@ -53,7 +53,7 @@ PROTECTED_ATTRIBUTES = { "hide_unverified": False, "hide_unless_approved": False, "hide_powered_by": False, - "mathjax": False, + "katex": False, "link_protection": False, "ignore_query_string": False, "reverse_order": False, @@ -96,8 +96,8 @@ class Namespace(RBase, Base): hide_powered_by = Column(Boolean, default=False) # should the list of root nodes in this namespace be public or hidden? public = Column(Boolean, default=False) - # should we enable MathJax? - mathjax = Column(Boolean, default=False) + # should we enable KaTeX for math rendering? + katex = Column(Boolean, default=False) # should we enable Link Protection to prevent comments from having links? link_protection = Column(Boolean, default=False) # check this box if the external site does _not_ use