This package ships its own types and also exposes the markdown-it import. However since @types/markdown-it is listed in devDependencies the MarkdownIt export is untyped. I can add typing myself by also adding @types/markdown-it as a dependency of my project, but that makes it hard to keep in sync with the version used here.
This package ships its own types and also exposes the
markdown-it
import. However since@types/markdown-it
is listed indevDependencies
theMarkdownIt
export is untyped. I can add typing myself by also adding@types/markdown-it
as a dependency of my project, but that makes it hard to keep in sync with the version used here.