From d219e8e1636084f49c3777250db19748e17e0c4b Mon Sep 17 00:00:00 2001 From: Andy <19520383+LeCyberDucky@users.noreply.github.com> Date: Fri, 22 May 2020 11:59:31 +0200 Subject: [PATCH] Add example for adding custom character --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 8efd2fc..dee3696 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,19 @@ You can also use the [“Unicode code point of current character” extension](h You can configure the list of characters and how they are shown under user settings key `gremlins.characters`. +As an example, the following snippet adds the "U+000C" FORM FEED character: + +``` + "gremlins.characters": { + "000c" : { + "zeroWidth": true, + "description": "FORM FEED (FF)", + "backgroundColor": "rgba(255,127,80,.5)", + "overviewRulerColor": "rgba(255,127,80,1)", + } + } +``` + Please help enhance the extension by suggesting new default characters, through Pull Requests or Issues. ## Displaying gremlins in the Problems pane