Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
parseSpan
Function · 0.85
Calls
2
match
Function · 0.70
consume
Function · 0.70
Tested by
no test coverage detected