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

Function htmlBlock

static/editor.md/lib/codemirror/mode/markdown/markdown.js:190–199  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

188 }
189
190 function htmlBlock(stream, state) {
191 var style = htmlMode.token(stream, state.htmlState);
192 if ((htmlFound && state.htmlState.tagStart === null && !state.htmlState.context) ||
193 (state.md_inside && stream.current().indexOf(">") > -1)) {
194 state.f = inlineNormal;
195 state.block = blockNormal;
196 state.htmlState = null;
197 }
198 return style;
199 }
200
201 function local(stream, state) {
202 if (stream.sol() && stream.match("```", false)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected