initial switch to latexmlmath, per #5
This commit is contained in:
parent
38d8d44b00
commit
376c0f5f93
8 changed files with 20 additions and 6 deletions
|
@ -132,11 +132,11 @@ command = "./syntax_wrapper.sh ${ATTR_CLASS##*-}"
|
|||
[widgets.math-inline]
|
||||
widget = "preprocess_element"
|
||||
selector = "span.math.inline"
|
||||
command = "sed -E 's/^\\\\\\((.*)\\\\\\)$/\\1/' | katex --format mathml"
|
||||
command = "./math_wrapper.sh inline"
|
||||
action = "replace_element"
|
||||
|
||||
[widgets.math-display]
|
||||
widget = "preprocess_element"
|
||||
selector = "span.math.display"
|
||||
command = "sed -E 's/^\\\\\\[(.*)\\\\\\]$/\\1/' | katex -d --fleqn --format mathml | awk '{print \"<p>\" $0 \"</p>\"}'"
|
||||
command = "./math_wrapper.sh display"
|
||||
action = "replace_element"
|
Loading…
Add table
Add a link
Reference in a new issue