排版预览
Jan 01, 2024
正文效果
中文
一个叫欧维的男人和死神
死亡是一桩奇怪的事情。人们终其一生都在假装它并不存在,尽管这是生命的最大动机之一。我们其中一些人有足够时间认识死亡,他们得以活得更努力、更执着、更壮烈。有些人却要等到它真正逼近时才意识到它的反义词有多美好。另一些人深受其困扰,在它宣布到来之前就早早地坐进等候室。我们害怕它,但我们更害怕它发生在身边的人身上。对死亡最大的恐惧,在于它与我们擦肩而过,留下我们独自一人。
人们总是说欧维刻薄。欧维一点都不刻薄,他只是不会嬉皮笑脸罢了。难道这就要送去判刑?欧维可不这么想。但当他不得不亲手埋葬世上唯一理解他的人时,还是会心碎欲裂。没有什么时间可以抚平这样的创伤。
—— 选自《一个叫欧维的男人决定去死》
英文
The Sorting Hat
The door swung open at once. A tall, black-haired witch in emerald-greenrobes stood there. She had a very stern face and Harry's first thought wasthat this was not someone to cross.
"The firs'-years, Professor McGonagall," said Hagrid.
"Thank you, Hagrid. I will take them from here."
She pulled the door wide. The Entrance Hall was so big you could havefitted the whole of the Dursleys' house in it. The stone walls were lit withfaming torches like the ones at Gringotts, the ceiling was too high to makeout, and a magnificent marble staircase facing them led to the upperfoors.
— From Harry Potter
标题
一级标题 h1
二级标题 h2
三级标题 h3
四级标题 h4
五级标题 h5
六级标题 h6
图片和超链接
图片来源:https://unsplash.com/photos/g-CyWyqOlB0
列表
无序列表
- Item 1
- Item 2
- Item 2a
- Item 2b
有序列表
- Item 1
- Item 2
- Item 3
- Item 3a
- Item 3b
引用
As Kanye West said:
We're living the future so the present is our past.
高亮块
::: callout 这是一个高亮块 :::
分割线
下面是一条分割线
代码
行内代码 console.log('hello world!')
python 代码块
def fib(n):
"""Print a Fibonacci series up to n."""
a, b = 0, 1
while a < n:
print(a, end=' ')
a, b = b, a+b
print()
tsx 代码块
function Counter() {
const [count, setCount] = useState(0);
return (
<div>
<p>You clicked {count} times</p>
<button onClick={() => setCount(count + 1)}>
Click me
</button>
</div>
);
}
强调
这是斜体 italic
这是粗体 bold
这是斜体加粗体
这是删除线 strikethrough
划线标注
这是文本高亮
这是文本高亮
这是文本高亮
这是文本高亮
这是马克笔
这是马克笔
这是马克笔
这是马克笔
这是下划线
这是下划线
这是下划线
这是下划线
脚注
这是一个脚注1
表格
表头一 | 表头二 |
---|---|
第一行第一列 | 第一行第二列 |
第二行第一列 | 第二行第二列 |
Footnotes
- 这是脚注的说明 ↩