Update namespace.py
Renamed mathjax column to katex in Column definition and PROTECTED_ATTRIBUTES dict.
This commit is contained in:
parent
e9233180cf
commit
734ac9c838
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue