nuxt-themes / alpine

The minimalist blog theme, powered by Nuxt & Markdown.
https://alpine.nuxt.space
MIT License
316 stars 56 forks source link

Markdown elements not displaying properly #173

Closed ArnoldTingSu closed 11 months ago

ArnoldTingSu commented 1 year ago

image

VS Code set to Markdown, yet formatting updates and causes markdown to break

leafleaf90 commented 11 months ago

@ArnoldTingSu Are you using Prettier to format? If so, you need to add .md to your prettierignore file.

Create a file in the root named ".prettierignore" and just add this one line: *.md

The reason is that Prettier format to standard markdown, but this is MDC.

Related to this issue on Nuxt Content repo: https://github.com/nuxt/content/issues/1709

ArnoldTingSu commented 11 months ago

Thank you. The setting worked