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

Function inBlock

static/editor.md/lib/codemirror/mode/dtd/dtd.js:80–91  ·  view source on GitHub ↗
(style, terminator)

Source from the content-addressed store, hash-verified

78 }
79
80 function inBlock(style, terminator) {
81 return function(stream, state) {
82 while (!stream.eol()) {
83 if (stream.match(terminator)) {
84 state.tokenize = tokenBase;
85 break;
86 }
87 stream.next();
88 }
89 return style;
90 };
91 }
92
93 return {
94 startState: function(base) {

Callers 1

tokenBaseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected