You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a markdown file with front matter, and indent the front matter incorrectly
Describe the bug
When I have a syntax error in the front matter of a page, the run dev crashes and needs to be restarted
Additional context
Using NUXT/content and NUXTJS/seo
Logs
12 | - mainEntity:
---------^
13 | '@type': "Person"
14 | '@id': "https://coldframe.ent ...
at generateError (node_modules/js-yaml/dist/js-yaml.mjs:1273:10)
at throwError (node_modules/js-yaml/dist/js-yaml.mjs:1277:9)
at readBlockSequence (node_modules/js-yaml/dist/js-yaml.mjs:2105:7)
at composeNode (node_modules/js-yaml/dist/js-yaml.mjs:2530:12)
at readBlockMapping (node_modules/js-yaml/dist/js-yaml.mjs:2254:11)
at composeNode (node_modules/js-yaml/dist/js-yaml.mjs:2531:12)
at readDocument (node_modules/js-yaml/dist/js-yaml.mjs:2715:3)
at loadDocuments (node_modules/js-yaml/dist/js-yaml.mjs:2778:5)
at Object.load$1 [as load] (node_modules/js-yaml/dist/js-yaml.mjs:2804:19)
at parseFrontMatter (node_modules/remark-mdc/dist/index.mjs:46:21)
The text was updated successfully, but these errors were encountered:
Environment
Reproduction
Create a markdown file with front matter, and indent the front matter incorrectly
Describe the bug
When I have a syntax error in the front matter of a page, the
run dev
crashes and needs to be restartedAdditional context
Using NUXT/content and NUXTJS/seo
Logs
The text was updated successfully, but these errors were encountered: