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

Function attrs

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

Source from the content-addressed store, hash-verified

361 }
362
363 function attrs(stream, state) {
364 if (stream.peek() == '(') {
365 stream.next();
366 state.isAttrs = true;
367 state.attrsNest = [];
368 state.inAttributeName = true;
369 state.attrValue = '';
370 state.attributeIsType = false;
371 return 'punctuation';
372 }
373 }
374
375 function attrsContinued(stream, state) {
376 if (state.isAttrs) {

Callers 1

nextTokenFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected