pompy.dev/packages/content/markdown/posts/test post.md

3.6 KiB

title date tags
Test post 2021-07-26
test

This post exists to test various features such as markdown-to-html conversion, table of contents generation, and metadata parsing.

Go to Homepage

Image

alt text

Video

Table

align right align center align left
one A 1
two B 2
three C 3

List

  • Unordered list item
  • Unordered list item
    • unordered list sub-item
    • unordered list sub-item
  • Unordered task list item (unchecked)
  • Unordered task list item (checked)
    • unordered task list sub-item (unchecked)
    • unordered task list sub-item (checked)
  1. Ordered list item
  2. Ordered list item
    1. ordered list sub item
    2. ordered list sub item
  3. Ordered list task item (unchecked)
  4. Ordered list task item (checked)
    1. Ordered list task sub-item (unchecked)
    2. Ordered list task sub-item (checked)

Footnote

everyone should use tailwind1 and pineapple belongs on pizza2.

Code

Here's a code. Here are color chips #FFFFFF #E06C75 #61AFEF #E5C07B.

print("And here's a language-specific code block")
# with comments!

x = 256
y = 256

print(x is y) # True. id(x) is indeed equal to id(y)

z = 257
w = 257

print(z is w) # False. id(z) is not equal to id(w)

# Apparently python does this to save memory usage.
# All integers between -5 and 256 share the same id.

block quotes

blockquote

nested blockquote

Text styling

bold italic strikethrough underlined ==marked== =a=marked with color amber== =b=blue== =c=cyan== =d=brown== =f=fuchsia== =g=green== =h=hotpink== =l=lime== =m=magenta== =n=navyblue== =o=orange== =p=purple== =q=pink== =r=red== =s=silver== =t=teal== =v=violet== =x=gray== =y=yellow==.

This is a ^superscript^ (soon^TM^) and this is a subscript (H2O)

centered paragraph

RED

Callouts & Directives

:::note Some content with Markdown syntax. :::

:::commend Some content with Markdown syntax. :::

:::warn Some content with Markdown syntax. :::

:::deter Some content with Markdown syntax. :::

:::assert Some content with Markdown syntax. :::

:::note{title="Custom title using directives"} Some content with Markdown syntax. :::

Key

Do you remember the first time you pressed Ctrl+C in terminal?

TeX

$KaTeX$ syntax is supported.

using mhchem for chemical formula.

Inline

e=mc^2 is actually e^2=(mc^2)^2 + (pc)^2.

Block

\text{The formula for normal distribution is} \space f(x)=\frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{1}{2}(\frac{x-\mu}{\sigma})^2}

headers

h1

content

h2

content

h3

content

h4

content

h5

content

h6

content


  1. Based on my experience building this website ↩︎

  2. Based on my infinite wisdom ↩︎