[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}$

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.

Log in to post a reply.