jlevy / jlevy/atom-flowmark

Auto-format YAML frontmatter

Open
#47 0 comments 1 reaction 1 assignee Claimed by @wooorm View on GitHub
enhancement priority
Dominant language
JavaScript
Stars
45
Forks
7
PR merge metrics
No merged PRs in 30d

Description

As a convenience, Flowmark should work on a Markdown file with YAML frontmatter, and then auto-format the YAML. This would also catch lots of syntax errors, normalize quote usage in YAML, etc., which are ongoing pain points for Markdown files with frontmatter.

Also as a convenience this should work on plain YAML the same way (need to auto-detect somehow even if there are no `---` markers however).

Settings should be 2-space indents, and other sane defaults. Probably insist on quotes for most strings too, if possible. (Things like `@` inside strings breaking YAML is a common pain point for authors.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.