Hi all,
I’m trying to set up a code beautifier for CodeMirror. I would like to beautify at least JavaScript, JSON and Python. The only beautifier I’ve found that supports all of them is code-prettify but I can’t get it working with CodeMirror. I’ve tried with js-beautify and it works but not for Python.
Has anyone managed to use code-prettify with CodeMirror? If yes, how can it be done?
Thanks.