Skip to content

looking for easy way to stop \, becoming , #9916

Closed Answered by jgm
sh9temp asked this question in Q&A
Discussion options

You must be logged in to vote

This is the standard way to escape these symbols in markdown. In markdown, \, means exactly the same as ,.

If you're trying to include raw LaTeX to be passed through to LaTeX output, then using the raw attribute as you do is the way to go.

If that's unergonomic, you could consider using a Lua filter to make what you're doing easier. Or, e.g., if you always want \, before \textcelsius, then define a new macro \mytextcelsius that does both and use this.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sh9temp
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants