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

Function inBlock

static/editor.md/lib/codemirror/mode/xml/xml.js:152–163  ·  view source on GitHub ↗
(style, terminator)

Source from the content-addressed store, hash-verified

150 }
151
152 function inBlock(style, terminator) {
153 return function(stream, state) {
154 while (!stream.eol()) {
155 if (stream.match(terminator)) {
156 state.tokenize = inText;
157 break;
158 }
159 stream.next();
160 }
161 return style;
162 };
163 }
164 function doctype(depth) {
165 return function(stream, state) {
166 var ch;

Callers 1

inTextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected