Your opening paragraph goes here. Hook the reader immediately with a strong statement or question.
Main Section Heading
Regular paragraphs with bold text and italics when needed.
You can write multiple paragraphs to develop your ideas.
Subsection Heading
- Bullet point one
- Bullet point two
- Bullet point three
Or numbered lists:
- First item
- Second item
- Third item
Code Examples
If you're writing technical content, code blocks work great:
const example = "This is a code block";
console.log(example);
Quotes and Callouts
This is a blockquote. Use it for important statements or quotes.
Links and Images
Tips for Writing
- Keep paragraphs short - 2-3 sentences max
- Use headings to break up content
- Show, don't tell - Use specific examples
- End with action - Give readers next steps
Conclusion
Wrap up your main points and give the reader a clear takeaway or next action.
Note about isPremium:
- Set
isPremium: false
for free articles (everyone can read) - Set
isPremium: true
for subscriber-only content (shows paywall after 40%)
Getting images:
Go to Unsplash, find an image, right-click and copy the URL. Add ?w=1200&h=675&fit=crop
to the end for optimal sizing.
Publishing:
- Copy this template to a new file:
your-article-slug.mdx
- Fill in all the frontmatter fields
- Write your content
- Run:
git add content/posts/your-article-slug.mdx && git commit -m "Add article: Your Title" && git push