x-lin7
A
分屏 专注

Directive 渲染示例

2 分钟阅读 · 更新于 2026-05-29T04:34:26.234808Z · #directive #demo

Directive 渲染示例

多语言代码 tab

下面用四冒号包 fenced code block:

def hello():
    print('hi')

点击 tab 切换语言,URL ?lang=... 会同步。

数学公式

行内:O(nlogn)O(n \log n)O(nlogn) 是归并排序的时间复杂度。

块级:

softmax(xi)=exijexj\text{softmax}(x_i) = \frac{e^{x_i}}{\sum_j e^{x_j}}softmax(xi)=jexjexi

Callout

598 0 0 0
⌘P 跳转 · ⌘K 搜索 · ⌘. 切栏 · ⌘E 编辑