The requested module does not provide an export named 'createMarkdownRenderer' #1752
Closed
3 tasks done
Labels
bug: pending triage
Maybe a bug, waiting for confirmation
Describe the bug
Hi, I am trying to import and use a custom Markdown renderer inside a component but it looks like the
createMarkdownRenderer
function is not exported.However, according to TypeScript types exported from VitePress,
createMarkdownRenderer
should be available for use.Reproduction
Expected behavior
The function
createMarkdownRenderer
should be exported as it is available from TypeScript types. If it should not, then remove thecreateMarkdownRenderer
type export.System Info
Additional context
Please note that I am trying to create a custom
markdownRenderer
so that I can create a code render from my component props.Validations
The text was updated successfully, but these errors were encountered: