Example of using CodeMirror with Makefile mode To try it out, install the dependencies: npm i Then open index.html in your browser.