MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / parseBold

Function parseBold

src/common/markdown-span.ts:79–83  ·  view source on GitHub ↗
(delim: string)

Source from the content-addressed store, hash-verified

77 };
78
79 const parseBold = (delim: string) => {
80 let s = '';
81 while (!match(delim) && i < t.length) s += consume();
82 spans.push({ tag: 'b', s });
83 };
84
85 const parseEmphasis = (delim: string) => {
86 let s = '';

Callers 1

parseSpanFunction · 0.85

Calls 2

matchFunction · 0.70
consumeFunction · 0.70

Tested by

no test coverage detected