Created
September 21, 2017 08:37
-
-
Save kosirm/0a4bac7902fc47cd8826ed2eb3bdefa8 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/ace-emmet/1
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
<script src="https://rawgithub.com/ajaxorg/ace-builds/master/src/ace.js"></script> | |
<script src="https://rawgithub.com/ajaxorg/ace-builds/master/src/ext-emmet.js"> </script> | |
<script src="https://rawgithub.com/nightwing/emmet-core/master/emmet.js"></script> | |
</head> | |
<body> | |
<p id="hello" style="height: 200px"> | |
</p> | |
<script id="jsbin-javascript"> | |
document.getElementById("hello").innerHTML = "<strong>This URL does not have any code saved to it.</strong>"; | |
</script> | |
<script id="jsbin-source-html" type="text/html"><!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
<script src="https://rawgithub.com/ajaxorg/ace-builds/master/src/ace.js"><\/script> | |
<script src="https://rawgithub.com/ajaxorg/ace-builds/master/src/ext-emmet.js"> <\/script> | |
<script src="https://rawgithub.com/nightwing/emmet-core/master/emmet.js"><\/script> | |
</head> | |
<body> | |
<p id="hello" style="height: 200px"> | |
</p> | |
</body> | |
<script> | |
ace = ace.edit("hello") | |
ace.session.setMode("ace/mode/html") | |
ace.setValue(document.documentElement.innerHTML, -1) | |
var Emmet = require("ace/ext/emmet"); // important to trigger script execution | |
ace.setOption("enableEmmet", true); | |
<\/script> | |
</html> | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">document.getElementById("hello").innerHTML = "<strong>This URL does not have any code saved to it.</strong>"; | |
</script></body> | |
<script> | |
ace = ace.edit("hello") | |
ace.session.setMode("ace/mode/html") | |
ace.setValue(document.documentElement.innerHTML, -1) | |
var Emmet = require("ace/ext/emmet"); // important to trigger script execution | |
ace.setOption("enableEmmet", true); | |
</script> | |
</html> |
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
document.getElementById("hello").innerHTML = "<strong>This URL does not have any code saved to it.</strong>"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment