Getting Started with My Blog
Welcome to my blog! This post demonstrates the different formatting options available when writing posts.
Headings Structure Your Content
Use headings to break up your content into scannable sections. Readers can quickly find what they’re looking for.
Subheadings Add Detail
You can nest headings to create a clear hierarchy.
Text Formatting
You can make text bold for emphasis or italic for a softer touch. You can also use inline code when referencing technical terms.
Lists Keep Things Organized
Here are some reasons why I started this blog:
- Share what I’m learning
- Connect with others
- Document my journey
- Build in public
Or if you prefer numbered steps:
- Write the post in markdown
- Save it in the
src/content/blog/folder - The site automatically picks it up
- Push to deploy
Blockquotes for Emphasis
The best time to start a blog was 10 years ago. The second best time is now.
Code Blocks
If you write about technical topics, code blocks are essential:
function greet(name) {
return `Hello, ${name}!`;
}
console.log(greet('World'));
Images
Images are easy too. Just place them in the src/assets/ folder and reference them in your frontmatter or content. The hero image at the top of this post is an example.
Links
Link to external sites or other pages on your blog.
That’s it! Writing blog posts is as simple as creating a markdown file. Happy blogging!