wevm / vocs

Minimal Documentation Framework, powered by React + Vite.

Home Page:https://vocs.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐛 Bug Headings Break With Front Matter

codingwithmanny opened this issue · comments

Context

When trying to create page and adding front matter configurations and then creating a markdown h1 with specifically the : symbol in the text it breaks.

Example:

Works

---
layout: docs
---

# Hello - There

Doesn't Work

---
layout: docs
---

# Hello: There

Step To Reproduce

1 - Create a new vocs project pnpm create vocs
2 - Modify index.mdx with the following:

---
layout: landing
---

# Hello: There

3 - Save, run, and see the following error

Screenshot 2024-03-07 at 12 06 01 PM