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

Function startHtmlMode

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

Source from the content-addressed store, hash-verified

198 }
199
200 function startHtmlMode(stream, state, offset) {
201 state.stack = {
202 parent: state.stack,
203 style: "html",
204 indented: stream.column() + offset, // pipe + space
205 tokenize: state.line
206 };
207 state.line = state.tokenize = html;
208 return null;
209 }
210
211 function comment(stream, state) {
212 stream.skipToEnd();

Callers 2

startLineFunction · 0.85
slimContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected