pompy.dev/source/markdown/posts/test post.md

2.6 KiB

title date tags
Test post 2021-07-26
test

This post exists to test various features such as markdown-to-html conversion.
A post have title, post date, tags, and content.

Go to search

Image

developomp icon

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)

Code

Here's a code.

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

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.

Etc

blockquote

nested blockquote

bold
italic
strikethrough
underlined
==marked==
this is a ^superscript^ (soon^TM^)
and this is a subscript (H2O)

Styling

centered paragraph

RED

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

\ce{6 CO2 + 6 H2O <=>[{photosynthesis}][{respiration}] C6H12O6 + 6 O2}