Markdown Features Demo

Calculating...

Table of Contents

GitHub Flavored Markdown (GFM)

GFM includes features like task lists, strikethrough, and tables.

  • Task 1
  • Task 2
  • Task 3

This was a mistake.

FeatureSupportNewline
TablesYesYes
Task ListsYesYes
StrikethroughYesYes

Math Equations

You can include inline math like this: E = m c 2 E = mc^2

Or display math:

a b f ( x ) d x = F ( b ) F ( a ) \int_{a}^{b} f(x) \,dx = F(b) - F(a)

Here are more complex mathematical equations for demonstration:

  1. The quadratic formula:
x = b ± b 2 4 a c 2 a x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
  1. Euler’s formula:
e i π + 1 = 0 e^{i\pi} + 1 = 0
  1. The Pythagorean theorem:
c = a 2 + b 2 c = \sqrt{a^2 + b^2}
  1. The area of a circle:
A = π r 2 A = \pi r^2
  1. The derivative of a function:
d y d x = lim h 0 f ( x + h ) f ( x ) h \frac{dy}{dx} = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}
  1. The integral of a function:
e x d x = e x + C \int e^x \,dx = e^x + C
  1. The Laplace transform:
L { f ( t ) } = 0 e s t f ( t ) d t \mathcal{L}\{f(t)\} = \int_0^{\infty} e^{-st} f(t) \,dt
  1. The Fourier series:
f ( x ) = a 0 + n = 1 ( a n cos ( 2 π n x T ) + b n sin ( 2 π n x T ) ) f(x) = a_0 + \sum_{n=1}^{\infty} \left( a_n \cos\left(\frac{2\pi nx}{T}\right) + b_n \sin\left(\frac{2\pi nx}{T}\right) \right)
  1. The binomial theorem:
( a + b ) n = k = 0 n ( n k ) a n k b k (a + b)^n = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^k

Footnotes

Here is a simple footnote1.

Images

Astro Logo

Slugs and Autolinked Headings

All headings will have slugs and will be automatically linked.

Code Highlighting

const hello = "world";
console.log(hello);

Minified HTML

The HTML output of this post will be minified for better performance.

Raw HTML

You can include raw HTML in your Markdown:

This is a red text.

This is a heading

Content for Tab 1

This is the content of the first tab.

Content for Tab 2

This is the content of the second tab.

Content for Tab 3

This is the content of the third tab.

This post demonstrates the usage of the following plugins:

  • remark-gfm
  • remark-math
  • remark-footnotes
  • remark-toc
  • remark-images
  • rehype-slug
  • rehype-autolink-headings
  • rehype-katex
  • rehype-format
  • rehype-minify

Footnotes

  1. This is the footnote.