vuejs / vuepress

📝 Minimalistic Vue-powered static site generator
https://vuepress.vuejs.org
MIT License
22.45k stars 4.78k forks source link

Netlify CMS preview excludes the markdown-it and css #1781

Open fessehaye opened 4 years ago

fessehaye commented 4 years ago

Feature request

What problem does this feature solve?

Not being able to preview certain markups like toc on netlify cms preview of the page.

What does the proposed API look like?

How should this be implemented in your opinion?

I was told by the netlify cms glitter that adding a custom preview template is necessary to bring over the markdown and styles from vuepress default theme.

Are you willing to work on this yourself? Yes

fessehaye commented 4 years ago

To be more specific, I would just like an example of how to add the markdown-it + extensions as well as the default css for the vuepress theme

kefranabg commented 4 years ago

Hi @fessehaye,

[Refer to this section] to extend markdown.

To be more specific, I would just like an example of how to add the markdown-it + extensions as well as the default css for the vuepress theme

What is the purpose of this issue, is it a bug ? feature request ? question ?

Please provide more context or reproduction link so we can help you.