<script src="codemirror/lib/codemirror.js"></script>
<script src="codemirror/addon/edit/closetag.js"></script>
<script src="codemirror/mode/xml/xml.js"></script>
<script src="codemirror/mode/javascript/javascript.js"></script>
<script src="codemirror/mode/css/css.js"></script>
<script src="codemirror/mode/htmlmixed/htmlmixed.js"></script>
<script src="code-blast.js"></script>
<script>
window.cm = CodeMirror(document.body, {
lineNumbers: true,
mode: "htmlmixed",
theme: 'monokai',
lineWrapping: true,
autofocus: true,
tabSize: 2,
value: "<article>\n <h1>Code blast plugin for Codmirror</h1>\n <div class=\"based-on\">\n Based on uixsj's experiment:\n https://uixsj.cn/\n </div>\n \n <div>\n\t This is a very cool code effect.\n </div>\n \n</article>",
autoCloseTags: true,
blastCode: { effect: 2 },
});
</script>
*
回帖描述:*
链接类型:*
下载链接:*
描述:*
回帖描述:*
链接类型:*
阅读权限:*
下载链接:



聚优部落技术论坛 © 版权所有 鲁ICP备15007479号-6
Copyright(C)web.com, All Rights Reserved.
