Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown elements not displaying properly #173

Closed
ArnoldTingSu opened this issue Nov 9, 2023 · 2 comments
Closed

Markdown elements not displaying properly #173

ArnoldTingSu opened this issue Nov 9, 2023 · 2 comments

Comments

@ArnoldTingSu
Copy link

image

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

@leafleaf90
Copy link

@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:
nuxt/content#1709

@ArnoldTingSu
Copy link
Author

Thank you. The setting worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants