MCPcopy Create free account
hub / github.com/fontsource/fontsource / renderDocsPageMarkdown

Function renderDocsPageMarkdown

website/app/utils/docs/markdown.server.ts:42–43  ·  view source on GitHub ↗
(page: MarkdownPage)

Source from the content-addressed store, hash-verified

40 });
41
42const renderDocsPageMarkdown = async (page: MarkdownPage) =>
43 normalizeProcessedMarkdown(await page.data.getText('processed'));
44
45const getMarkdownRoute = (pathname: string) => {
46 if (!pathname.startsWith(docsPrefix) || !pathname.endsWith(markdownSuffix)) {

Callers 1

getDocsPageMarkdownFunction · 0.85

Calls 1

Tested by

no test coverage detected