Skip to content

No documented way to import MarkdownEngine #75612

@PeterWone

Description

@PeterWone

I was looking for a reference to the instance of markdown-it after all plugins are configured so I can use it to render markdown in my printing extension instead of duplicating the rendering pipeline.

Rummaging through the codebase I found MarkdownEngine and its render method, and this is exactly what I need but there is no mention of this in the API page and doesn't seem to be any reliable way to reference it.

If this actually is supported and I just failed to RTFM then feel free to be ironic at me in my Stack Overflow question on this topic.

I think the place for it is as a property vscode.env.markdownEngine alongside the clipboard object.

Metadata

Metadata

Assignees

Labels

apihelp wantedIssues identified as good community contribution opportunitiesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions