MCPcopy Create free account
hub / github.com/Hashnode/starter-kit / getHTMLFromMarkdown

Function getHTMLFromMarkdown

packages/utils/renderer/markdownToHtml.ts:83–85  ·  view source on GitHub ↗
(contentMarkdown: string)

Source from the content-addressed store, hash-verified

81};
82
83const getHTMLFromMarkdown = (contentMarkdown: string) => {
84 return marked(contentMarkdown, markedOpts);
85};
86
87const getOptimizedImages = (content: string) => {
88 return imageReplacer(content, true);

Callers

nothing calls this directly

Calls 1

markedFunction · 0.85

Tested by

no test coverage detected