Minimal Remark markdown starter example with support for frontmatter
This val imports a content.md
markdown file.
It parses out frontmatter using graymatter
.
Then it uses Remark and Rehype to parse the markdown into HTML and serve the response.
{ "title": "Remark Frontmatter Starter", "date": "2025-03-28T00:00:00.000Z", "tags": [ "markdown", "frontmatter", "HTML", "val.town" ] }