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

Feature request: allow YAML for all files or implement a loader hook #443

Open
Farnsi opened this issue Aug 21, 2022 · 0 comments
Open

Feature request: allow YAML for all files or implement a loader hook #443

Farnsi opened this issue Aug 21, 2022 · 0 comments

Comments

@Farnsi
Copy link

Farnsi commented Aug 21, 2022

For some parts you use already js-yaml, why not add an option to parse yaml files instead json?
The yaml files could then internally be transformed to json and parsed like json.

I think a fork to implement this feature is too much.
A loader hook would be a good thing too.

Currently i use a script to read all yaml files, transform them to json, write them to a temp dir where jsonschema2md can use it.

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