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

Support extensions other than json and yaml #21

Merged
merged 3 commits into from Mar 19, 2018
Merged

Conversation

@DW8Reaper
Copy link

DW8Reaper commented Feb 1, 2018

At my company we are using swagger as our file extension and not yaml. This change allows file types of plaintext to still be previewed as swagger files.

Further it checks the language id instead of the file extensions which should resolve files called yml instead of yaml.

@arjun-g arjun-g merged commit 23e53f0 into arjun-g:master Mar 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.