From 92a4bdf2d9e9eb57daca4068fe1c464672fd6ad8 Mon Sep 17 00:00:00 2001 From: Quinn Winters Date: Wed, 1 Jun 2022 08:50:00 +0200 Subject: [PATCH] Adding `\todo` for LaTeX todos Many packages (e.g. `todo`, `easy-todo`, `todonotes`) in LaTeX visually track TODOs in a document which makes them easy to see when editing; especially when sending to external editors. This commit adds support for these packages in LaTeX and creates GitHub issues just like you would have from a regular inline comment. --- syntax.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/syntax.json b/syntax.json index 8e20108..70c6424 100644 --- a/syntax.json +++ b/syntax.json @@ -430,6 +430,10 @@ "type": "line", "pattern": "%" }, + { + "type": "line", + "pattern": "\\\\todo{" + }, { "type": "block", "pattern": {