question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue parsing Front-matter

See original GitHub issue

Environment

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

issues

Front matter is not getting displayed correctly. See image

Additional context

No response

Logs

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

2reactions
ram-youcommented, May 26, 2022

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.

1reaction
pavlexandercommented, May 26, 2022

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found