nuxt-themes / alpine

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

Markdown elements not displaying properly #173

Closed ArnoldTingSu closed 6 months ago

ArnoldTingSu commented 8 months ago

image

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

leafleaf90 commented 7 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 6 months ago

Thank you. The setting worked