From 98636bca00b0af9248de1385179c911c981c331e Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Wed, 26 Jul 2023 21:13:29 +0800 Subject: [PATCH] update: share template in doc --- docs/about-note-template.md | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/docs/about-note-template.md b/docs/about-note-template.md index 1fd15d3..3598489 100644 --- a/docs/about-note-template.md +++ b/docs/about-note-template.md @@ -11,9 +11,9 @@ One-click to import. Click to show the example template ```yaml -# This template is specifically for importing/sharing, using better +# This template is specifically for importing/sharing, using better # notes 'import from clipboard': copy the content and -# goto Zotero menu bar, click Edit->New Template from Clipboard. +# goto Zotero menu bar, click Edit->New Template from Clipboard. # Do not copy-paste this to better notes template editor directly. name: "[Text] Current Time" content: |- @@ -37,6 +37,16 @@ content: |- Now you can open a note/the workspace and in editor toolbar, click `Insert Template to cursor line`. Select the template, it is inserted to the note. +## Share Note Template + +> Only available in Better Notes v1.1.4-2 or higher + +Copy the template code for importing by: + +1. Open template editor via menu->`Note Template Editor` +2. Select the template you want to share in the template list +3. Click `Options`->`Copy share code` + # Write Note Template ## What is this? @@ -129,9 +139,9 @@ If no stage pragma is given, the whole template will be processed on the default Click to show the example template ```yaml -# This template is specifically for importing/sharing, using better +# This template is specifically for importing/sharing, using better # notes 'import from clipboard': copy the content and -# goto Zotero menu bar, click Edit->New Template from Clipboard. +# goto Zotero menu bar, click Edit->New Template from Clipboard. # Do not copy-paste this to better notes template editor directly. name: "[Item] Example Item Template" content: |- @@ -382,9 +392,9 @@ Users can use [Import Note Template](#import-note-template) to copy and import t A template snippet should be in YAML format (YAML has better support for multi-line content): ```yaml -# This template is specifically for importing/sharing, using better +# This template is specifically for importing/sharing, using better # notes 'import from clipboard': copy the content and -# goto Zotero menu bar, click Edit->New Template from Clipboard. +# goto Zotero menu bar, click Edit->New Template from Clipboard. # Do not copy-paste this to better notes template editor directly. name: "[TYPE] TEMPLATE NAME" content: |-