Skip to content

typora-community-plugin/typora-plugin-note-snippets

Repository files navigation

Typora Plugin Note Snippets

English | 简体中文

This a plugin based on typora-community-plugin for Typora.

Use slash command to autocomplete note snippets.

Preview

Usage

  1. Open "Plugin Settings" Modal → Plugin "Note Snippets" Settings → "Note snippets folder" → click "Open folder" button to open the snippets folder.

  2. (Optional) Add JavaScript ESM file to the snippets folder

// function.js (or other name)
export function author() {
  return 'Tom'
}
  1. 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.

About

Use slash command to autocomplete note snippets. | 使用斜线指令输入笔记片段。

Topics

Resources

License

Stars

Watchers

Forks