This is a sample post. Replace it with your own content.
Welcome to your new Astro blog. This post exists to demonstrate the markdown
styling that ships with the theme (port of the GitHub-flavored blog.css).
Headings
The theme styles h1 through h6, blockquotes, tables, lists, inline code and
code blocks.
Tables
| Column | Meaning | Value |
|---|---|---|
title | Post title | string |
date | Publish date | date |
tags | Optional tags | string[] |
Code
const greeting = 'hello world';
console.log(greeting);
Lists
- Write markdown files under
src/content/blog/. - Add frontmatter (
title,date, optionaldescription,tags). - Run
npm run dev.
- The file name becomes the URL slug.
- Drafts (
draft: true) are hidden from the build.
Enjoy!