Skip to content

VSCode: how to combine Marp preview with Markdown-It contributions from other extensions? #176

Answered by yhatt
christianvoigt asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for your interest in contributing to Marp extension! 😆

The Argdown VSCode extension already contributes a MarkdownIt plugin to the Markdown preview to transform Argdown code snippets into argument maps. However, this does not work if I activate Marp for the Markdown document (using marp: true). Do you use VSCode's MarkdownIt instance at all? I think it would be great if this would work "out of the box".

If marked the document as Marp Markdown via marp: true, Marp for VS Code will try to parse and render Markdown by using Marp's markdown-it engine instead of VS Code's markdown-it. markdown-it plugins for VS Code's engine provided by the VS Code extension are not covered in Marp…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by christianvoigt
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants