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

Function tokenSGMLComment

static/editor.md/lib/codemirror/mode/css/css.js:654–662  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

652 }
653
654 function tokenSGMLComment(stream, state) {
655 if (stream.skipTo("-->")) {
656 stream.match("-->");
657 state.tokenize = null;
658 } else {
659 stream.skipToEnd();
660 }
661 return ["comment", "comment"];
662 }
663
664 CodeMirror.defineMIME("text/css", {
665 documentTypes: documentTypes,

Callers 1

css.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected