Issue parsing Front-matter
See original GitHub issueEnvironment
Nuxt CLI v3.0.0-rc.3 11:06:16 RootDir: C:\Users\Fraser\Websites\content-wind 11:06:17 Nuxt project info: 11:06:17
- Operating System:
Windows_NT
- Node Version:
v16.14.2
- Nuxt Version:
3.0.0-rc.3
- Package Manager:
yarn@1.22.11
- Builder:
vite
- User Config:
modules
,colorMode
,content
- Runtime Modules:
@nuxt/content@2.0.0-27556335.6403e35
,@nuxtjs/tailwindcss@5.1.2
,@nuxtjs/color-mode@3.0.3
- Build Modules:
-
Reproduction
https://github.com/Atinux/content-wind
Describe the bug
Front matter is not getting displayed correctly. See image
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:5
Top Results From Across the Web
GitHub - docs/frontmatter
This is a frontmatter parser built on gray-matter that supports optional frontmatter validation using a revalidator JSON schema.
Read more >parser-front-matter - npm
Front matter parsing middleware based on gray-matter.. Latest version: 1.6.4, last published: 5 years ago. Start using parser-front-matter ...
Read more >Yaml frontmatter not parsing as documented - Stack Overflow
First your test.html file move to resources folder now follow this code $document = YamlFrontMatter::parseFile(resource_path('test.html')); ...
Read more >FrontMatter.php | Drupal 9.2.x
This component allows for an easy and convenient way to parse front matter from a source. Front matter is used as a way...
Read more >How to parse frontmatter with python - El Baul del Programador
Learn how to parse and modify frontmatter content with Python-Frontmatter. ... Let's see as an example one of the problems I faced.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I’m on Linux and have the same issue even with native parameters. Nuxt version: “^3.0.0-rc.3” @nuxt/content version: “^2.0.0”
@mctweb It seems that it’s not related to Windows, so please change the issue’s title according to @pavlexander comment and mine. Thank you.
just found a temporary workaround if you are interested: https://github.com/nuxt/content/issues/1137#issuecomment-1138821912
working for me on Windows. @ram-you could you test if this fix works for you on Linux as well?