Skip to content

Invalid Markdown: failed with YAMLSemanticError: Insufficient indentation in flow collection when using TABS #488

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

Closed
cobbvanth opened this issue Jun 16, 2023 · 2 comments
Milestone

Comments

@cobbvanth
Copy link

cobbvanth commented Jun 16, 2023

When using Tabs in JSON, inside of the front-matter of your mdx file, you will get the "failed with YAMLSemanticError: Insufficient indentation in flow collection" error when using tabs to indent multi-line separated arrays.

WindowsTerminal_HeEnB0ZRhO

The following code with a single tab trigger this error:
Code_cYRcUyfVeZ

However, when this tab is replaced by spaces, the error no longer occurs:
Code_j0h2eo5y8O

The only other reference to this I came across was from the YAML repo here, which may indicate an issue with the version of YAML used in this repo. eemeli/yaml#114

Thanks!

@schickling schickling added this to the 0.3.4 milestone Jun 29, 2023
@schickling
Copy link
Collaborator

This should be addressed with the 0.3.4 release. 🎉

@cobbvanth
Copy link
Author

Awesome, thank you!

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