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

Function ruby

static/editor.md/lib/codemirror/mode/haml/haml.js:33–39  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

31 }
32
33 function ruby(stream, state) {
34 if (stream.match("-#")) {
35 stream.skipToEnd();
36 return "comment";
37 }
38 return rubyMode.token(stream, state.rubyState);
39 }
40
41 function html(stream, state) {
42 var ch = stream.peek();

Callers 1

rubyInQuoteFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected