Skip to content
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

Possibility to configure how YAML is written YAML Block vs. Flow Style #27

Open
hasselk opened this issue Jul 11, 2023 · 1 comment
Open

Comments

@hasselk
Copy link

hasselk commented Jul 11, 2023

Hi Selim,

thanks a lot for this great tool. Maybe i have missed it, is it possible to select how the YAML is written? So that one can select Block vs. Flow Yaml style?

YAML Block Style

This is the style I use for all Obsidian tags.

---
tags:
  - toys
  - gifts
---
# Heading
Content begins here...

YAML Flow Style
Alternative, compact style that is still valid YAML, but handling it is not a very high priority for these tools. This is particularly the case for the tools designed to have minimal dependencies, which don't have an actual YAML parser.

---
tags: [toys, gifts]
---

Best Regards
Hassel

@markfaine
Copy link

I tried everything, even built the string manually by concatenating values and when it saved it's still did not save it as I had specified. (yaml flow style)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants