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

Format code #305

Closed
lililo111 opened this issue Apr 26, 2022 · 3 comments
Closed

Format code #305

lililo111 opened this issue Apr 26, 2022 · 3 comments

Comments

@lililo111
Copy link

How can I format code in codemirror?
Should I use the props -- extensions or anything else?

@lililo111
Copy link
Author

And how would I get the codemirror native object and use native methods?
thanks if anyone could help.

@jaywcjlove
Copy link
Member

https://discuss.codemirror.net/t/code-formatting-in-code-mirror/3405/2

The author says this feature is not supported.
@lililo111

@arvigeus
Copy link
Contributor

Check this out, I think it might be what you are looking for: https://github.com/arvigeus/format-code

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

3 participants