MCPcopy
hub / github.com/mdnice/markdown-resume / parseMarkdown

Function parseMarkdown

src/utils/helper.js:125–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123};
124
125export const parseMarkdown = itemValue => {
126 const [value, align] = solveAlign(itemValue);
127
128 let html = solveLine(value);
129 html = html ? html : md.render(value);
130
131 return [html, align];
132};
133
134const solveAlign = itemValue => {
135 const align = {

Callers 2

renderMethod · 0.90
ResumeClass · 0.90

Calls 3

solveAlignFunction · 0.85
solveLineFunction · 0.85
renderMethod · 0.45

Tested by

no test coverage detected