\ character in cson file


Hello there! I’m trying to make a code snippet for latex. The problem is that when I trigger the snipet, the ** character is not inputed in the file.
Any ideas?

This is the code in the snippets.cson file:
‘Big-Oh notation’:
‘prefix’: ‘oh’
‘body’: “$ \mathcal{O}(1)

I’ve already tried using single-quotes, double-quotes, escape the character using \, and nothing works…



Found it! You have to use “$ \\mathcal{O}(1)