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

Function slimTagExtras

static/editor.md/lib/codemirror/mode/slim/slim.js:386–392  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

384 return slimClass(stream, state);
385 }
386 function slimTagExtras(stream, state) {
387 if (stream.match(/^(<>?|><?)/)) {
388 state.tokenize = slimClass;
389 return null;
390 }
391 return slimClass(stream, state);
392 }
393 function slimClass(stream, state) {
394 if (stream.match(classIdRegexp)) {
395 state.tokenize = slimClass;

Callers

nothing calls this directly

Calls 1

slimClassFunction · 0.85

Tested by

no test coverage detected