I am using Documenter.jl to generate the documentation, and would like to use \cases to define piecewise functions. Currently I am adding the equation to the docstring. Something like this doesn’t seem to render as latex in the generated html file:
I think it’s failing because you’re not escaping the line break backslashes on line 3 (you want \\, so you’d need to write \\\\ to escape them properly in a docstring). I.e.: