Sublime Forum

Double backslash in completions

#1

I need to include \linewidth in my completion. Writing \\ only produces a single backslash. Is there a way to produce two?

My completion:

{ "trigger": "ki|knitr_image", "contents": "<<$1,out.width='${2:0.65}\\\\linewidth'${3:,fig.width=6,fig.height=6}>>=\n\t$0\n@" }
0 Likes