-
-
Notifications
You must be signed in to change notification settings - Fork 26
How to create or edit a multi‐valued property in Obsidian?
- How to create a multi-valued property in Obsidian using YAML property editor?
- How to edit an existing multi-valued property in Obsidian using YAML property editor?
- How to edit a multi-valued property in Obsidian using the source view mode?

The key information is that you use the shift+enter to insert a newline character when editing the properties.
* the shift+enter works on macOS. I need yet to confirm is the same works on Windows or if a different keys combination has to be used.
Highlights for the above movie:
- copy & paste of multi-line text unfortunately doesn't work in the Obsidian properties editor (video recorded on Obsidian 1.4.13)
- the multi-line text from clipboard is flattened after paste operation
- to (re)insert new lines use the
shift+enterinstead of theenterkey alone (cursor keys work normally and allow you to navigate) - hitting the
enterkey alone exists the property editor, which can be confusing

The key information is that you use the shift+enter to insert a newline character when editing the properties.
* the shift+enter works on macOS. I need yet to confirm is the same works on Windows or if a different keys combination has to be used.
Highlights for the above movie:
- multi-line property value is shown partially, when inactive. Upon activation (click and the cursor appears) the property editor gets expanded automatically showing more of the multi-line content
- hitting the
enterkey alone exists the property editor, which can be confusing
Depending on your scenario, using the source view mode could be the most convenient way of editing the multi-valued properties, like the sorting-spec:. It is closest to the old-fashioned plain text editing of YAML inline in Obsidian
