Skip to content

Vitepress support #230

@Niek

Description

@Niek

Hello, did anyone manage to get sveltia-cms working properly with Vitepress? I found the following issues so far:

  • Collections does not support the root folder . - you need to move all .md files in a separate folder (not the biggest issue, still annoying)
  • All .md files in a collection need to have empty frontmatter at the start of the file, otherwise an error is thrown that yaml-frontmatter cannot be parsed (sounds like a bug to me)
  • Since vitepress usually doesn't need any frontmatter, it would be nice if the title could be parsed from the Markdown header - any chance this is possible?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions