This is the first article. Everything below the frontmatter is plain Markdown.
How to add a new post
- Create a file in
app/routes/namedarticles.your-slug.mdx - Copy the frontmatter block above and change the values
- Write the body in Markdown
- Run
npm run buildand deploy
The URL becomes /articles/your-slug automatically.
Frontmatter fields
| Field | Required | What it does |
| --- | --- | --- |
| title | yes | Heading and page title |
| abstract | yes | Summary shown in the list and search results |
| date | yes | Sort order and display date |
| featured | no | true pins it to the featured slot |
| banner | no | Image shown when featured is true |
Markdown you can use
You can write bold, italic, inline code, and links.
js
const greeting = 'hello';
console.log(greeting);
Blockquotes work too.