Apr 17, 2025

Hello World

This is a hello world post to check typography and code blocks.

Hello World hero image

This is an H1 heading

This is an H2 heading

This is an H3 heading

This is an H4 heading

This is an H5 heading
This is an H6 heading

This is a paragraph.

These are some bold words.

These are some italic words.

These are some strikethrough words.

These are some links.

These are some links with a title.

Code

You can use inline code like this.

You can also use block code like this:

Typescript

typescript
const x = 1;

Python

python
print("Hello, World!")

JavaScript

javascript
console.log("Hello, World!");

JSON

JSON
{ "name": "John", "age": 30 }

Diff

You can highlight changes in code using diff syntax:

diff
- This line was removed + This line was added This line was unchanged

Diff with language highlighting

You can combine diff with language syntax highlighting:

javascript
- const greeting = "Hello"; + const greeting = "Hello World"; console.log(greeting);

Or alternatively:

javascript
- function oldFunction() { - return "This is the old implementation"; - } + function newFunction() { + return "This is the new implementation"; + }

Diff with PHP (as requested)

php
- $variable = "Hello"; + $variable = "Hello World"; echo $variable;

Custom Components

Mermaid Diagrams

Mermaid diagrams can be added using the <Mermaid> component:

Basic Flowchart

Sequence Diagram

Pie Chart

Sequence Diagram with Notes

Git Graph