MCPcopy Create free account
hub / github.com/TruthHun/BookStack / STRING_MODE

Function STRING_MODE

static/highlight/languages/less.js:15–18  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

13 var RULES = [], VALUE = []; // forward def. for recursive modes
14
15 var STRING_MODE = function(c) { return {
16 // Less strings are not multiline (also include '~' for more consistent coloring of "escaped" strings)
17 className: 'string', begin: '~?' + c + '.*?' + c
18 };};
19
20 var IDENT_MODE = function(name, begin, relevance) { return {
21 className: name, begin: begin, relevance: relevance

Callers 1

less.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected