How to replace the current CodeBlock from Markdown-It in Vuepress with my custom CodeBlock Component

65 Views Asked by At

I want the markdown-it from Vuepress 2 use my vue codeblock component that I created instead of the codeblock that comes from markdown-it. When wraping the example code with:

```

I was wondering if I have to create a plugin that extends the markdown-it.This is the current codeblock from Vuepress Markdown-It This is the current codeblock from Vuepress Markdown-It.

Thanks

0

There are 0 best solutions below