From 32fc03607cb450cac346c70947b95049ebfb2951 Mon Sep 17 00:00:00 2001 From: Spencer Gouw Date: Sun, 24 Sep 2023 19:40:38 -0700 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 68d1bad..16db8a8 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,13 @@ fn hello() { ... where `|` represents your cursor. Of course, Obsidian is a markdown editor, so expect the little indent guide. +#### List of supported symbols + +- Newline: `%\n` +- Tab: `%\t` +- Space: `%\s` +- Cursor Ending position (after snippet replacement): `%\e` + ## Why? I wanted to make a generic snippets plugin that operated on text and worked as I needed. There is an existing snippets plugin already, [Text Snippets](https://github.com/ArianaKhit/text-snippets-obsidian) by ArianaKhit, but not only is the plugin code somewhat outdated and a little complex, it seems to use an older API. (It is a very good plugin by the way.)