diff --git a/CHANGELOG.md b/CHANGELOG.md index 16915cd..7cfd204 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ based on http://keepachangelog.com/en/1.0.0/ ### Added - Source text for preview image ([#195](https://github.com/area/language-latex/pull/195)). - Support for `\regexp{...}` command ([#196](https://github.com/area/language-latex/pull/196)). - +- Snippet for `\verb|...|`, the inline code command ([#206](https://github.com/area/language-latex/pull/206)). ## [1.2.0] - 2018-09-23 ### Added diff --git a/snippets/language-latex.cson b/snippets/language-latex.cson index 99734ed..57b0904 100644 --- a/snippets/language-latex.cson +++ b/snippets/language-latex.cson @@ -102,6 +102,9 @@ 'inline math - \\(\\)': 'prefix': 'inline' 'body': '\\\\($1\\\\)$0' + 'verbatim': + 'prefix': 'verb' + 'body': '\\\\verb|$1|' # math, taken from https://github.com/SublimeText/LaTeXTools/blob/master/LaTeX%20math.sublime-completions '.text.tex.latex .string.other.math':