我使用以下参数创建文本区域:
{
lineNumbers: true,
dragDrop: true,
mode: "htmlmixed",
theme: 'bespin',
autoCloseBrackets: true,
autoCloseTags: true,
matchBrackets: {
afterCursor: true,
maxScanLines: 10000,
maxScanLineLength: 100000
},
foldGutter: true,
gutters: ["CodeMirror-lint-markers", "CodeMirror-linenumbers", "CodeMirror-foldgutter"],
lint: true,
matchTags: {
bothTags: true
}
}
但分析仅适用于html。
是否可以使短绒棉分析html,css和js?