ravenq / markdown-it-vue

The vue lib for markdown-it.
MIT License
348 stars 67 forks source link

markdown-it-container plugin don't wprk #2

Closed Akirami closed 5 years ago

Akirami commented 5 years ago

Hi, at first thanks for this repo.

There is a typo at line 92 in markdown-it-vue.vue:

.use(MarkdownItContainer, 'warining')

And after quickly test markdown-it-vue, i was unable to use custom container:

::: warining
*here be dragons*
:::

Or with warning, info, success, ...

ravenq commented 5 years ago

Thanks for your issue.

I have fix it in commint b35b126eab577f013ea22c18704324f983733f1e.

and make the tokens success, info, error, warning.