← Back to blog

Sample blog post

How does it work?

Each post is a directory inside content/blog/ with pl.md and en.md files. Front matter at the top defines the title, date, and excerpt.

Formatting

Markdown supports bold, italic, links and much more.

Things you can use:

  • Headings (h2, h3...)
  • Bullet and numbered lists
  • Code blocks
  • Blockquotes
  • Images

Blockquotes look like this - with a vertical bar on the left.

Code

$blog = Blog::find('przyklad-wpisu', Language::PL);
echo $blog->title; // "Sample blog post"

That's it. Simple as Markdown.