Back to all articles

October 22, 2024

Test Article

An article to test markdown rendering.

Hello, this is a test article. Eventually I will write some real blog posts and put them here, but while you wait for that why not check out the various formatting options that are supported by markdown?

Header level 1

Header level 2

Header level 3

This is a paragraph. This paragraph has some text. The paragraph has formatting, like bold, italics, and strikethrough.

This is an ordered list

  1. First item
  2. Second item
  3. Third item

And here's another list, this time unordered

  • List 1
  • List 2
  • List 3

Following is a horizontal rule


Thisisatable
HiHiHiHi

This is a link to another website. And this is an autolink: https://google.com.

The following are some test images:

image

Another test image with fixed width

This is some inline code, and some inline python: print("Hello, world!")

Here's some block code

hello
world

Here is some sample code, written in C:

main.c
#include <stdio.h>
 
int main() {
    printf("Hello, world!\n");
}

And in python

main.py
def factorial(x):
    if x <= 1:
        return 1
    else:
        return x * factorial(x - 1)

And in typescript (react)

src/main.tsx
export default function App() {
  return (
    <div>
      <h1>Hello, world!</h1>
    </div>
  );
}

And even sql!

select * from users where username = 'Bob';
select * from users where username = 'Bob';
select * from users where username = 'Bob';

This is a formatted diff

-Hello world!
+Hello markdown!
 This is an example of some diff text.

This is a blockquote

80% of quotes are fake

‐ Albert Einstein

This is inline math: x=b±b24ac2ax = \frac{-b\pm\sqrt{b^2 - 4ac}}{2a}, fx=limh0f(x+h,y)f(x,y)h\frac{\partial f}{\partial x} = \lim\limits_{h\to0}\frac{f(x+h, y) - f(x,y)}{h}

This is block math:

ε>0, δ>0, xA,xa<δ    f(x)f(a)<ε\begin{align*} &\forall\varepsilon>0,\ \exists\delta>0,\ \forall x\in A,\\ &\quad|x-a|<\delta\implies |f(x)-f(a)|<\varepsilon \end{align*}