You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.
I think this is because the header is specified as YAML and YAML doesn't support tabs, but it would be helpful if the extension could let me know that's why it's failing. Is it possible to handle this more gracefully, especially for those of us who aren't that familiar with YAML's strict requirements
Maybe we can check for Tabs once we've parsed it with gray-matter, and if found, we can send a notification requesting the user change their workspace settings to convert Tabs to spaces.
We're working with Node Buffer objects which do not come with string manipulation, so simply checking for tabs and replacing them with spaces only works if we are willing to convert Buffers to strings. I'm not sure what the overhead would be.
gray-matter itself doesn't have any advice on this issue, and the dependency it uses for parsing YAML, js-yaml, is facing this same discussion here
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: