StaticJsCMS / static-cms

A Git-based CMS for Static Site Generators

Home Page:https://staticcms.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YAML Formatter Options

KaneFreeman opened this issue · comments

Hello! I would like to customize the criteria with which to save YAML and Markdown files:

  • Literal text blocks instead of folded ones
  • Text strings preferably without quotes, but with single quotes if necessary
  • Single line text strings without line breaks (as if the width of the document were infinite)
  • One less level of indentation in arrays

Would it be possible to do this online and save all compilation?

Originally posted by @lorensansol in #974

@lorensansol this is available in v4.0.0-beta.3

Marvelous! 🤩

But the truth is that I don't understand how or where to use it.

Would it be too much to ask for a small example without compilation? (I found a yaml CDN)