콘텐츠로 이동

Markdown cheatsheet

A short tour of what Markdown gives you. Copy from here when you write a post.

This post has no translation, so it is a good place to see the fallback: open /zh/blog/markdown-cheatsheet/ and you get this English text with a notice on top.

Text

Bold, italic, inline code, and a link.

Lists

  1. First step
  2. Second step
    • A nested point
    • Another one

Code blocks

Add the language after the fence to get highlighting:

export function slugify(title: string): string {
return title.toLowerCase().replace(/[^a-z0-9]+/g, '-');
}

Quotes and tables

Keep posts short. One idea per post reads better than one long post.

FieldPurpose
pubDateSort order on the blog index
tagsGroups posts into tag pages

Images

![Alt text](/images/blog/example.png)

Put the file in public/images/blog/ first. Images are shared by all languages.


← 전체 글