-
-
Save 142ayushkumar/b46f7c1f66b7ffc3023fbb7d638c2125 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added the snippet below my text area | |
<script type="text/javascript"> | |
var editor = CodeMirror.fromTextArea(document.getElementById("source"), { | |
}); | |
</script> | |
And added | |
<script src="/static/codemirror/lib/codemirror.js"></script> | |
<link rel="stylesheet" href="/static/codemirror/lib/codemirror.css"> | |
<script src="/static/codemirror/mode/javascript/javascript.js"> | |
within my head tag. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment