-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(formatter): add monaco formatter for mdc #9
base: main
Are you sure you want to change the base?
Conversation
Adds a monaco-editor formatting provider, along with updated usage instructions and unit tests.
@farnabaz I have this working in my downstream project and have added it to the playground in this PR. Let me know if I can make any updates or scenarios I didn't account for |
Thanks @adamdehaven, This is great. I tried with putting |
Ah yep @farnabaz I forgot to register the I have updated the formatter, playground example, and the docs to configure When typing in the playground, it will auto-format whenever you enter a newline |
Should be ready for review - give it a try in the Playground and let me know |
47e7d11
to
6c191d9
Compare
Perfect 👍 One thing about the README. |
Done. Also added this note: Note Since the format provider utilizes spaces for indention, we will also configure the editor to insert spaces for tabs. |
Adds a
monaco-editor
formatting provider, along with updated usage instructions and unit tests.