Bug: YAML Key Sort option removes multi-line content after literal operator |
#1082
Open
2 of 3 tasks
Labels
bug
Something isn't working
help wanted
Extra attention is needed
reproducible
yaml
YAML related issues or features
Describe the Bug
When the YAML Key Sort option
Sorts the YAML keys based on the order and priority specified.
and aYAML Sort Order for Other Keys
order is enabled, nested content after a literal operator|
is removed.This is a problem for me because I'm using Obsidian Custom Sort, which recommends syntax with a
sorting-spec
key followed by a literal operator.How to Reproduce
Settings > Linter > Sorts the YAML keys based on the order and priority specified.
YAML Sort Order for Other Keys
toAscending Alphabetical
orDescending Alphabetical
.|
will be removed.Example
order-desc: a-z
will be removed.Expected Behavior
Nested content after a literal operator should not be removed.
Device
The text was updated successfully, but these errors were encountered: