vnote/zh_cn/docs/用户/模板.md
2021-11-17 21:47:36 +08:00

772 B

模板

VNote支持基于模板创建笔记。

创建笔记时,您可以在对话框中选择一个模板。

VNote将模板文件保存在文件夹templates中。一个文件对应一个模板。

可以通过系统的文件浏览器直接添加或者删除模板文件。

模板文件中支持片段。例如,可以在一个模板中这样写:

# %no%
This is a template using **Snippet** to insert note name as the title automatically.

%no%是一个内建片段,会被识别为当前笔记名字(不带后缀)。因此,如果笔记命名为week report.md,则新笔记内容将如下:

# week report
This is a template using **Snippet** to insert note name as the title automatically.