[Solved]Get Squiffy not to parse curly brackets
Montessinos
04 Jun 2020, 18:01Hello everyone!
Following the method in this thread I got mathjax working with Squiffy.
However, whenever I try to inject code that uses bracket (for instance I try to display fractions by using some code like $\dfrac{2}{3}$,
Squiffy reads the brackets as me trying to read an attribute and replaces my numbers with null.
Is there a way to stop this from happening ?
I tried doubling the brackets and writing { but it doesn't change anything.
Edit : I solved it by setting an attribute :
@set math=$\dfrac{2}{3}$
{math}
allows me to display the math as I want it.
Bluevoss
06 Jun 2020, 17:44Nice trick to know. Yeah, every so often I'll find something in Squiffy that should work but works weird.