Action
Move to Obsidian
Posted by pmbauer,
Last update
3 months ago
UPDATES
3 months ago
updated id field
3 months ago
updated id field
3 months ago
update instructions
Description
Creates a new note or appends to an existing note in Obsidian with content from the current note plus metadata, then puts the current note in Drafts trash.
- non-destructive, appends if the note already exists
- uses a safe filename with alias and header line
- relevant metadata
- compatible with obsidian-advanced-uri UUID addresses, but does not require this plugin to import
- create/modified fields work with obsidian-linter
- latitude/longitude for fun
Requirements
Obsidian 0.14.3+ with x-callback-url
support and append
param on new
action. See Using obsidian URI for details.
Steps
-
defineTemplateTag
name name
template [[safe_title]]
-
defineTemplateTag
name content
template --- uid: [[uuid]] aliases: - [[display_title]] tags: [[tags]] created: [[created|%Y-%m-%d %H:%M:%S]] modified: [[modified|%Y-%m-%d %H:%M:%S]] latitude: [[modified_latitude]] longitude: [[modified_longitude]] --- # [[display_title]] [[body]]
-
callbackUrl
template obsidian://new?append=yes&name=[[name]]&content=[[content]]
waitForResponse true
encodeTags true
Options
-
After Success Trash Notification Info Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.