--- a/README.md Thu May 14 17:45:50 2020 -0500 +++ b/README.md Wed May 13 15:17:53 2020 -0500 @@ -14,15 +14,11 @@ c) Highlighting of `comment` environments as comment blocks. -The highlighting of todo-notes and footnotes has to be specifically configured: -see below. - -### Regarding `todonotes` and `footnote` support +## Customising `todonotes` and `footnote` colours -Unfortunately, VSCode does not appear to let extensions contribute token colours -for syntax highlighting. Therefore, to enable syntax highlighting for `\todo` and -`\footnote`, add the following (with possibly customised colours) to your user -`settings.json` (Cmd+Shift+P, “Open Settings (JSON)”): +To customise syntax highlighting for `\todo` and `\footnote`, add the following +(with possibly customised colours) to your user `settings.json` +(Cmd+Shift+P, “Open Settings (JSON)”): ```json "editor.tokenColorCustomizations": { @@ -43,6 +39,8 @@ } ``` +## Initial-prefixed todo-notes + Initial-prefixed `\XYtodo` custom todonotes commands are also supported. For example, `\lstodo{a latex-syntax todo}` will be highlighted if you do the above colour customisations and in your LaTeX source define