第一篇博客:介绍 Hextra markdown 语法
第一篇博客:介绍 Hextra markdown 语法
July 25, 2025
语法高亮
Markdown
```python
def say_hello():
print("Hello!")
```
渲染结果
def say_hello():
print("Hello!")
在高亮块中嵌套高亮块的代码,外层的高亮块多一个 ` 符号,这一小结的第一个高亮块源码如下
````markdonw{filename=Markdown}
```python
def say_hello():
print("Hello!")
```
````
BlockQuotes
Don’t communicate by sharing memory, share memory by communicating.
— Rob Pike1
> Don't communicate by sharing memory, share memory by communicating.<br>
> — <cite>Rob Pike[^1]</cite>
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
Alerts
Note
Useful information that users should know, even when skimming content.
Tip
Helpful advice for doing things better or more easily.
Important
Key information users need to know to achieve their goal.
Warning
Urgent info that needs immediate user attention to avoid problems.
Caution
Advises about risks or negative outcomes of certain actions.
> [!NOTE]
> Useful information that users should know, even when skimming content.
> [!TIP]
> Helpful advice for doing things better or more easily.
> [!IMPORTANT]
> Key information users need to know to achieve their goal.
> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.
> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.
行内代码
这是行内代码 inline code
这是行内代码
最后更新于