Skip to content

Instantly share code, notes, and snippets.

@apmckinlay
Last active August 29, 2015 14:22
Show Gist options
  • Save apmckinlay/c3ce9572ce0032efaee4 to your computer and use it in GitHub Desktop.
Save apmckinlay/c3ce9572ce0032efaee4 to your computer and use it in GitHub Desktop.
Simplest possible CodeMirror example
<!doctype html>
<html>
<head>
<script src="http://codemirror.net/lib/codemirror.js"></script>
<link rel="stylesheet" href="http://codemirror.net/lib/codemirror.css">
<script type="text/javascript">
window.onload = function () {
CodeMirror(document.body);
};
</script>
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment