Skip to content

Instantly share code, notes, and snippets.

@monty5811
Created June 26, 2014 15:18
Show Gist options
  • Save monty5811/7391129b3693fc69988d to your computer and use it in GitHub Desktop.
Save monty5811/7391129b3693fc69988d to your computer and use it in GitHub Desktop.
Sublime text snippet for inserting LaTeX todonotes.
<snippet>
<content><![CDATA[
\todo[${1:inline,}color=${2:orange}]{${3:todo}}
]]></content>
<tabTrigger>todo</tabTrigger>
<scope>text.tex.latex</scope>
</snippet>
@monty5811
Copy link
Author

Save this in your Sublime Text Packages\User folder.

Then in a TeX file type todo[tab] to insert the snippet. Subsequent tabs moves you from inline, to the colour to the note content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment