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

Function header

static/editor.md/lib/codemirror/mode/http/http.js:75–87  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

73 }
74
75 function header(stream) {
76 if (stream.sol() && !stream.eat(/[ \t]/)) {
77 if (stream.match(/^.*?:/)) {
78 return "atom";
79 } else {
80 stream.skipToEnd();
81 return "error";
82 }
83 } else {
84 stream.skipToEnd();
85 return "string";
86 }
87 }
88
89 function body(stream) {
90 stream.skipToEnd();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected