English | 简体中文
This a plugin based on typora-community-plugin for Typora.
Use slash command to autocomplete note snippets.
-
Open "Plugin Settings" Modal → Plugin "Note Snippets" Settings → "Note snippets folder" → click "Open folder" button to open the snippets folder.
-
(Optional) Add JavaScript ESM file to the snippets folder
// function.js (or other name)
export function author() {
return 'Tom'
}
- Add note snippets
snippets.md
(or other name) to the snippets folder
key
```markdown
hello world
```
key2
```markdown
hello {{ author() }}
```
Use slash command in Typora, like /key2
. It will replace with hello Tom
.