mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-02-27 17:03:57 +08:00
feat:1、修复无数据时报错的问题。
2、新增自定义代码着色格式 3、新增自动加载配置文件
This commit is contained in:
19
static/editor.md/lib/highlight/languages/vbscript-html.js
Normal file
19
static/editor.md/lib/highlight/languages/vbscript-html.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Language: VBScript in HTML
|
||||
Requires: xml.js, vbscript.js
|
||||
Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
|
||||
Description: "Bridge" language defining fragments of VBScript in HTML within <% .. %>
|
||||
Category: scripting
|
||||
*/
|
||||
|
||||
function(hljs) {
|
||||
return {
|
||||
subLanguage: 'xml',
|
||||
contains: [
|
||||
{
|
||||
begin: '<%', end: '%>',
|
||||
subLanguage: 'vbscript'
|
||||
}
|
||||
]
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user