Action
Move to Obsidian
UPDATES
7 months ago
fixed formatting
7 months ago
fixed formatting
about 2 years ago
updated to use obsidian-advanced-uri. The built-in obsidian://new
action forces focus to edit the new file’s filename. This works in the background without forcing a context change in obsidian.
over 2 years ago
updated id field
over 2 years 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
- create/modified fields work with obsidian-linter
- latitude/longitude for fun
Requirements
- Obsidian 0.14.3+ with
x-callback-url
support. See Using obsidian URI for details. - obsidian-advanced-uri plugin
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://advanced-uri?mode=prepend&filepath=[[name]]&data=[[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.