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

Function text

static/editor.md/lib/codemirror/mode/jade/jade.js:447–457  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

445 }
446
447 function text(stream, state) {
448 if (stream.match(/^(?:\| ?| )([^\n]+)/)) {
449 return 'string';
450 }
451 if (stream.match(/^(<[^\n]*)/, false)) {
452 // html string
453 setInnerMode(stream, state, 'htmlmixed');
454 state.innerModeForLine = true;
455 return innerMode(stream, state, true);
456 }
457 }
458
459 function dot(stream, state) {
460 if (stream.eat('.')) {

Callers 1

nextTokenFunction · 0.70

Calls 2

setInnerModeFunction · 0.85
innerModeFunction · 0.85

Tested by

no test coverage detected