New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for YAML arrays #6
Comments
By multi-line, do you mean YAML objects? If so, I think it's because obsidian's YAML parsing is incomplete. An object of the form:
will parse successfully. Dataview does support nested objects in this syntax, using dots to separate the names (so |
If you enable previewing frontmatter in the Obsidian options, and then look at the preview, do you get an "Invalid YAML" exception in the renderer? |
Ah, yes, I haven't added YAML array support yet since I wasn't sure of the best way to approach it ergonomically. I'm expecting to add support in the next few releases. |
Great! Thank you so much! |
Any updates on this? :) |
Incoming as part of 0.1.8 this week. It will be somewhat simple for now (contains, sort, renders properly), but should be more useful when I finish the new query engine. |
Great! can't wait to try it out! :D |
Added as 0.1.8. The support is somewhat basic but I will expand it in 0.1.9. |
Can you give an example of how to use it? :) |
Hello,
While using dataview, I noticed that the plugin only render single line YAML attributes, while multi-line YAML attributes are returned as null.
EX:
Attribute:
This will return as null.
Would it be possible to enhance the plugin by adding supports for multi-line YAML attributes?
The text was updated successfully, but these errors were encountered: