-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Generic text box support #20
Comments
Yes, when you clicking on the Prettier button from the toolbar, and if the focus is inside a |
Out of curiosity, how do we want to handle detecting the parser? Just naively assume it's Markdown? I wonder if the we could have a dropdown list when clicking the Prettier button in the toolbar that says |
Good question, maybe we could use a language detection library and fall back to Markdown when it's unknown or looks like snippets from multiple languages. |
Ohhh I like that idea :) |
Other extensions like prettier-js-extension allow any text box to be used for formatting, which would help make this extension more useful with less code changes. I still think some of the functionality and UI specific to GitHub and Stack Overflow could be useful though.
The text was updated successfully, but these errors were encountered: