Back to all posts

Your Blog Post Title Here

Welcome to this blog post! This template includes examples of all the formatting you can use in your markdown posts.

Basic Text Formatting

This is a normal paragraph. You can write as much as you want here.

You can use bold text or italicized text. You can also use bold and italic together.

You can also strike through text if needed.

Links and References

You can add links to other websites or to your own blog posts.

Lists

Unordered List

  • First item
  • Second item
    • Sub-item one
    • Sub-item two
  • Third item

Ordered List

  1. First step
  2. Second step
    1. Sub-step one
    2. Sub-step two
  3. Third step

Code Examples

You can add inline code like const example = true within a sentence.

Or create code blocks with syntax highlighting:

// JavaScript example
function greeting(name) {
  return `Hello, ${name}!`;
}

console.log(greeting('Reader'));
# Python example
def greeting(name):
    return f"Hello, {name}!"

print(greeting("Reader"))

Blockquotes

You can add quotes:

“This is a blockquote. You can use it to emphasize important points or include quotes from other sources.”

— Attribution

Images

You can add images like this:

Alt text description

Tables

Header 1 Header 2 Header 3
Row 1 Data Data
Row 2 Data Data

Horizontal Rules

You can add horizontal rules to separate sections:


Task Lists

  • [x] Write the blog post
  • [ ] Add images
  • [ ] Proofread
  • [ ] Publish

Tips for Using This Template:

  1. Always update the frontmatter (the section between — at the top):

    • title: Your post title
    • date: Current date in ‘YYYY-MM-DD’ format
    • excerpt: A brief, engaging summary
  2. Images:

    • Place your images in the public/images folder
    • Use relative paths in your markdown
    • Keep image filenames lowercase and use hyphens for spaces
  3. Preview:

    • Use npm run dev to preview your post locally
    • Check both desktop and mobile views
  4. Before publishing:

    • Check all links work
    • Verify images load correctly
    • Proofread for typos
    • Test code snippets if included

Remember to delete these instructions and sections you don’t need when writing your actual post!

© 2024 Aslier.eu