基础语法

Lists

Ordered Lists

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

Unordered Lists

- First item
- Second item
- Third item
- Fourth item

html

home

link

home

外链图

unsplash

本地图

taeyeon

Table

SyntaxDescription
HeaderTitle
ParagraphText

Strikethrough

~~The world is flat.~~ We now know that the world is round.

The world is flat. We now know that the world is round.

Task Lists

- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media

Footnotes

Here's a simple footnote,1 and here's a longer one.bignote

Indent paragraphs to include them in the footnote.

{ my code }

Add as many paragraphs as you like.

KaTeX

块公式:

(f(α)bcef(β)gijf(γ))\begin{pmatrix} f(\alpha) & b & c \\ e & f(\beta) & g \\ i & j & f(\gamma) \end{pmatrix}

列公式:eiπ+1=0e^{iπ} + 1 = 0.

代码高亮

测试 inline code

测试 Python:

import requests

r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
print(r.status_code)
print(r.headers['content-type'])

测试行高亮:

function tick() {
  const element = (
    <div>
      <h1>Hello, world!</h1>
      <h2>It is {new Date().toLocaleTimeString()}.</h2>
    </div>
  )
  ReactDOM.render(element, document.getElementById('root'))
}

setInterval(tick, 1000)

Emoji

Emojis in this text will be replaced: :dog: :+1:

Graphviz

digraph graphname {
  a -> b;
  b -> c;
  a -> c;
}

Keboard Keys

Hit Enter twice to create a new paragraph.

Details & Summary

使用 details 和 summary 来渲染可隐藏内容

这是标题--- 这是可以被隐藏的内容 ---

Links


  1. This is the first footnote.
  2. Here's one with multiple paragraphs and code.