How Content Works
How Markdown files become pages with pulsar_content.
How Content Works
Every Markdown file in content/docs/ becomes a complete, pre-rendered HTML page when you run pulsar build.
Frontmatter
Each file starts with a frontmatter block. Only title is required:
---
title: How Content Works
description: How Markdown files become pages.
---
# How Content Works
...
Adding a Page
Create a new file in content/docs/ and it is automatically added to the site:
---
title: New Page
description: A short summary.
---
# New Page
Write your content in Markdown.
The Layout Component
Content pages are rendered through DocLayout in lib/pages/doc_layout.dart. It receives the parsed ContentNode and injects the HTML body with ContentRenderer.