Answer the question
In order to leave comments, you need to log in
How to use double curly braces in mathjax+GO?
The backend is written in go, but there is also the mathjax library. So the problem is that sometimes in mathjax there are {{ things like this for separating formulas. How can you make go not parse these particular parentheses? Here's a variant How to make the go template engine not parse part of the html template file? does not fit.
Answer the question
In order to leave comments, you need to log in
You can simply change these delimiters to those that are convenient for you using the https://golang.org/pkg/html/template/#Template.Delims function
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question