Sample .md file

Sample .md file

A sample post with markdown.

Inline Highlighting

Sample of inline highlighting sum = parseInt(num1) + parseInt(num2)

Code Blocks

Some Javascript code

var num1, num2, sum
num1 = prompt('Enter first number')
num2 = prompt('Enter second number')
sum = parseInt(num1) + parseInt(num2) // "+" means "add"
alert('Sum = ' + sum) // "+" means combine into a string

Some Python code 🐍

def fib():
    a, b = 0, 1
    while True:            # First iteration:
        yield a            # yield 0 to start with and then
        a, b = b, a + b    # a will now be 1, and b will also be 1, (0 + 1)

for index, fibonacci_number in zip(range(10), fib()):
     print('{i:3}: {f:3}'.format(i=index, f=fibonacci_number))

Related Posts

Release of Tailwind Nextjs Starter Blog v2.0

Release of Tailwind Nextjs Starter Blog v2.0

Release of Tailwind Nextjs Starter Blog template v2.0, refactored with Nextjs App directory and React Server Components setup.Discover the new featur...

read more
New features in v1

New features in v1

An overview of the new features released in v1 - code block copy, multiple authors, frontmatter layout and more

read more
Introducing Tailwind Nextjs Starter Blog

Introducing Tailwind Nextjs Starter Blog

Looking for a performant, out of the box template, with all the best in web technology to support your blogging needs? Checkout the Tailwind Nextjs S...

read more
Deriving the OLS Estimator

Deriving the OLS Estimator

How to derive the OLS Estimator with matrix notation and a tour of math typesetting using markdown with the help of KaTeX.

read more
Images in Next.js

Images in Next.js

In this article we introduce adding images in the tailwind starter blog and the benefits and limitations of the next/image component.

read more
Markdown Guide

Markdown Guide

Markdown cheatsheet for all your blogging needs - headers, lists, images, tables and more! An illustrated guide based on GitHub Flavored Markdown.

read more
O Canada

O Canada

The scenic lands of Canada featuring maple leaves, snow-capped mountains, turquoise lakes and Toronto. Take in the sights in this photo gallery exhib...

read more
Elements

Elements

Example of a markdown file with code blocks and syntax highlighting

read more
Introducing Multi-part Posts with Nested Routing

Introducing Multi-part Posts with Nested Routing

The blog template supports posts in nested sub-folders. This can be used to group posts of similar content e.g. a multi-part course. This post is its...

read more