Mathjax curly brackets don't show up (using jekyll)

6.4k views Asked by At

I use Mathjax on my static (jekyll-generated) site : Mathjax is loaded but curly brackets don't show up.

$ \{ 2*3 \} $ -> 2*3
$ \left{ 2*3 \right} -> \left{ 2*3 \right} (math style)

I'd like to have (for instance) a simple {2*3}

Cheers

1

There are 1 answers

7
ted On BEST ANSWER

OK found out :

You have to escape the backslash because there seems to be 2 levels of interpretation : jekyll then mathjax. So you need to escape the backslash from Jekyll so it renders for Mathjax to escape the bracket :

$ \\{ 2*3 \\} $ -> {2*3}