Update README.md

This commit is contained in:
Spencer Gouw 2023-09-24 19:40:38 -07:00 committed by GitHub
parent 6e15adc2d4
commit 32fc03607c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.)