mirror of
https://github.com/documize/community.git
synced 2025-07-26 08:39:44 +02:00
CodeMirror dependency upgraded to v5.32.0
For handling Markdown and Code section types
This commit is contained in:
parent
3337db6b27
commit
0336f84a83
351 changed files with 3408 additions and 1945 deletions
11
gui/public/codemirror/mode/vue/vue.js
vendored
Executable file → Normal file
11
gui/public/codemirror/mode/vue/vue.js
vendored
Executable file → Normal file
|
@ -32,13 +32,20 @@
|
|||
var tagLanguages = {
|
||||
script: [
|
||||
["lang", /coffee(script)?/, "coffeescript"],
|
||||
["type", /^(?:text|application)\/(?:x-)?coffee(?:script)?$/, "coffeescript"]
|
||||
["type", /^(?:text|application)\/(?:x-)?coffee(?:script)?$/, "coffeescript"],
|
||||
["lang", /^babel$/, "javascript"],
|
||||
["type", /^text\/babel$/, "javascript"],
|
||||
["type", /^text\/ecmascript-\d+$/, "javascript"]
|
||||
],
|
||||
style: [
|
||||
["lang", /^stylus$/i, "stylus"],
|
||||
["lang", /^sass$/i, "sass"],
|
||||
["lang", /^less$/i, "text/x-less"],
|
||||
["lang", /^scss$/i, "text/x-scss"],
|
||||
["type", /^(text\/)?(x-)?styl(us)?$/i, "stylus"],
|
||||
["type", /^text\/sass/i, "sass"]
|
||||
["type", /^text\/sass/i, "sass"],
|
||||
["type", /^(text\/)?(x-)?scss$/i, "text/x-scss"],
|
||||
["type", /^(text\/)?(x-)?less$/i, "text/x-less"]
|
||||
],
|
||||
template: [
|
||||
["lang", /^vue-template$/i, "vue"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue