README improvements

Tue, 12 May 2020 09:25:23 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Tue, 12 May 2020 09:25:23 -0500
changeset 1
6c4986d204ac
parent 0
aa9fc390ce91
child 2
c3efdaab6a3e

README improvements

README.md file | annotate | diff | comparison | revisions
--- a/README.md	Mon May 11 17:50:17 2020 -0500
+++ b/README.md	Tue May 12 09:25:23 2020 -0500
@@ -1,6 +1,6 @@
 # latex-syntax
 
-This package provides syntax highlighting for LaTeX to VSCode. It is intended
+This package provides LaTeX syntax highlighting for VSCode. It is intended
 to be used as together with [texlab][] to provide richer syntax highlighting.
 The grammar is derived from LaTeX-Workshop, but has improvements including
 
@@ -18,42 +18,42 @@
 ### Regarding `todonotes` and `footnote` support
 
 To enable syntax highlighting for `\todo` and `\footnote`, add the following
-to your `settings.json` (Cmd+Shift+P, “Open Settings (JSON)”):
+(with possibly customised colours) to your user `settings.json`
+(Cmd+Shift+P, “Open Settings (JSON)”):
 
 ```json
-
-    "editor.tokenColorCustomizations": {
-        "textMateRules": [
-            {
-                "scope": "entity.name.todo.latex",
-                "settings": {
-                    "foreground": "#d17000",
-                    "fontStyle": "italic",
-                }
-            },
-            {
-                "scope": "support.function.todo.latex",
-                "settings": {
-                    "foreground": "#d17000",
-                    "fontStyle": "italic",
-                }
-            },
-            {
-                "scope": "entity.name.footnote.latex",
-                "settings": {
-                    "foreground": "#e28000",
-                    "fontStyle": "italic",
-                }
-            },
-            {
-                "scope": "support.function.footnote.latex",
-                "settings": {
-                    "foreground": "#e28000",
-                    "fontStyle": "italic",
-                }
+"editor.tokenColorCustomizations": {
+    "textMateRules": [
+        {
+            "scope": "entity.name.todo.latex",
+            "settings": {
+                "foreground": "#d17000",
+                "fontStyle": "italic",
+            }
+        },
+        {
+            "scope": "support.function.todo.latex",
+            "settings": {
+                "foreground": "#d17000",
+                "fontStyle": "italic",
             }
-        ],
-    },
+        },
+        {
+            "scope": "entity.name.footnote.latex",
+            "settings": {
+                "foreground": "#e28000",
+                "fontStyle": "italic",
+            }
+        },
+        {
+            "scope": "support.function.footnote.latex",
+            "settings": {
+                "foreground": "#e28000",
+                "fontStyle": "italic",
+            }
+        }
+    ],
+},
 ```
 
   [texlab]: https://marketplace.visualstudio.com/items?itemName=efoerster.texlab

mercurial