update: share template in doc

This commit is contained in:
windingwind 2023-07-26 21:13:29 +08:00
parent 67918e2f34
commit 98636bca00

View File

@ -11,9 +11,9 @@ One-click to import.
<summary>Click to show the example template</summary>
```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
<summary>Click to show the example template</summary>
```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: |-