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

Add YAML support #93

Open
Livven opened this issue Jun 4, 2021 · 2 comments
Open

Add YAML support #93

Livven opened this issue Jun 4, 2021 · 2 comments

Comments

@Livven
Copy link

Livven commented Jun 4, 2021

First off, thanks for this polished library.

Since YAML is compatible with JSON, it would be nice if there was an option to use YAML for the error visualization, i.e. instead of this:

  4 |   "content": [
  5 |     {
> 6 |       "type": "paragarph",
    |               ^^^^^^^^^^^
  7 |       "content": [
  8 |         {
  9 |           "type": "text",

Show this:

  4 |   content:
> 5 |     - type: paragarph
    |             ^^^^^^^^^
  6 |       content:
  7 |         - type: text
@sjaugmented
Copy link

Second this, mainly for the js formatting so I can use it as a codemirror linter.

@plocket
Copy link

plocket commented Nov 27, 2023

I could really use this too. My data is all in YAML. When I'm looking at the error object, accurate line numbers would help. I'm not sure how/if it could be done, though.

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

3 participants