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

Edit documents as YAML #1451

Open
EpicWink opened this issue May 19, 2023 · 0 comments
Open

Edit documents as YAML #1451

EpicWink opened this issue May 19, 2023 · 0 comments

Comments

@EpicWink
Copy link

YAML is a nicer language to edit JSON-structured data. I propose a user setting to switch the editor to displaying the documents as YAML.

This YAML would be converted to JSON for saving and converted from JSON for loading by a client-side library. The choice of this library will determine the feature-set (eg forward-references), but obviously JSON-compatible (no custom types or dates, no directives nor productions, tags will be dropped, single-document). Quick search of JS libraries:

I can start a PR when my company accepts the CLA

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

1 participant