Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
83
const
getHTMLFromMarkdown = (contentMarkdown: string) => {
84
return
marked(contentMarkdown, markedOpts);
85
};
86
87
const
getOptimizedImages = (content: string) => {
88
return
imageReplacer(content, true);
Callers
nothing calls this directly
Calls
1
marked
Function · 0.85
Tested by
no test coverage detected