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

Function getSanitizedHTML

packages/utils/renderer/markdownToHtml.ts:79–81  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

77};
78
79const getSanitizedHTML = (content: string) => {
80 return sanitizeHtml(content, sanitizeHtmlOptions);
81};
82
83const getHTMLFromMarkdown = (contentMarkdown: string) => {
84 return marked(contentMarkdown, markedOpts);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected