[Solved]Get Squiffy not to parse curly brackets

Hello 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.


Nice trick to know. Yeah, every so often I'll find something in Squiffy that should work but works weird.


This topic is now closed. Topics are closed after 180 days of inactivity.

Support

Forums