Markdown扩展

2024 年 2 月 23 日 星期五(已编辑)
145
2
AI 生成的摘要
表演内容示例包括文件和变量表示法,以及文件末尾特殊符号的含义。Token部分示例了如何隐藏内容和标记。Latex和KateX部分展示了数学公式的表示方法。Container部分展示了不同样式的容器和网格布局。Alerts部分展示了不同类型的重要信息提示。
这篇文章上次修改于 2024 年 5 月 17 日 星期五,可能部分内容已经不适用,如有疑问可询问作者。

Markdown扩展

Table

表达内容示例
表示文件options.txt
表示变量<版本名>
在文件或文件夹末尾加上 ! 表示 Minecraft 本体,分发这些文件违反了 Minecraft Eulalibraries !
在文件或文件夹末尾加上 * 表示可删除,** 表示建议删除,*** 表示必须删除libraries *
| 表达内容                                                                                                                                 | 示例          |
| ---------------------------------------------------------------------------------------------------------------------------------------- | ------------- |
| 表示文件                                                                                                                                 | `options.txt` |
| 表示变量                                                                                                                                 | <版本名>      |
| 在文件或文件夹末尾加上 `!` 表示 Minecraft 本体,分发这些文件违反了 [Minecraft Eula](https://account.mojang.com/documents/minecraft_eula) | libraries !   |
| 在文件或文件夹末尾加上 `*` 表示可删除,`**` 表示建议删除,`***` 表示必须删除                                                             | libraries \*  |

Token

This is a Spoiler

This is a ||Spoiler||

A code.

A `code`.

mark it.

==mark== it.

Something Insert

++Something Insert++

Latex

c=±a2+b2c = \pm\sqrt{a^2 + b^2}
$ c = \pm\sqrt{a^2 + b^2} $

Container

banner

here be dragons
::: warning
_here be dragons_
:::
here be dragons
::: banner {error}
_here be dragons_
:::

Gallery

::: gallery
https://loremflickr.com/640/480/city?1
https://loremflickr.com/640/480/city?2
https://loremflickr.com/640/480/city?3
![](https://loremflickr.com/640/480/city?4 'Image')
:::

Grid

::: grid {cols=3,gap=4}

Grid 1

Grid 2

Grid 3

https://loremflickr.com/640/480/city?1

https://loremflickr.com/640/480/city?2

https://loremflickr.com/640/480/city?3

![](https://loremflickr.com/640/480/city?4 'Image')

![](https://loremflickr.com/640/480/city?4 'Image')

![](https://loremflickr.com/640/480/city?4 'Image')

:::

Images Grid

::: grid {cols=2,rows=2,gap=4,type=images}
![](https://loremflickr.com/640/480/city?4)
![](https://loremflickr.com/640/480/city?4)
![](https://loremflickr.com/640/480/city?4)
![](https://loremflickr.com/640/480/city?4)
:::
::: grid {cols=3,rows=2,gap=12,type=images}
![](https://loremflickr.com/640/480/city?4)
![](https://loremflickr.com/640/480/city?4)
![](https://loremflickr.com/640/480/city?4)
![](https://loremflickr.com/640/480/city?4)
![](https://loremflickr.com/640/480/city?4)
![](https://loremflickr.com/640/480/city?4)
:::

Alerts

> [!NOTE]
> Highlights information that users should take into account, even when skimming.
Note
Highlights information that users should take into account, even when skimming.
> [!IMPORTANT]
> Crucial information necessary for users to succeed.
Important
Crucial information necessary for users to succeed.
> [!WARNING]
> Critical content demanding immediate user attention due to potential risks.
Warning
Critical content demanding immediate user attention due to potential risks.

KateX

$ c = \pm\sqrt{a^2 + b^2} $
c=±a2+b2c = \pm\sqrt{a^2 + b^2}
$c = \pm\sqrt{a^2 + b^2}$
c=±a2+b2c = \pm\sqrt{a^2 + b^2} P(x)=anxn+an1xn1++a1x+a0P(x) = a_nx^n+a_{n-1}x^{n-1} + \dots + a_1x + a_0
$P(x) = a_nx^n+a_{n-1}x^{n-1} + \dots + a_1x + a_0$
$$

P\left(U,T\right)=100\left.\left(0.6\min\left(1,\frac{U-0.70}{0.90-0.70}\right)+0.4\min\left(1,\frac{T-4000}{14000-4000}\right)\right)\right.

$$
P(U,T)=100(0.6min(1,U0.700.900.70)+0.4min(1,T4000140004000)) P\left(U,T\right)=100\left.\left(0.6\min\left(1,\frac{U-0.70}{0.90-0.70}\right)+0.4\min\left(1,\frac{T-4000}{14000-4000}\right)\right)\right.

Excalidraw

Excalidraw Loading...
Excalidraw Loading...
```excalidraw
{"type":"excalidraw/clipboard","elements":[{"type":"rectangle","version":14,"versionNonce":1361369853,"isDeleted":false,"id":"_PSpf6pLwkWIJubC_tf9D","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":0,"x":545.0390625,"y":387.296875,"strokeColor":"#1e1e1e","backgroundColor":"transparent","width":177.53515625,"height":138.328125,"seed":1495751197,"groupIds":[],"frameId":null,"roundness":{"type":3},"boundElements":[],"updated":1706954302946,"link":null,"locked":false}],"files":{}}
```

React Remote Component Render

Component Loading...
```component
import=https://cdn.jsdelivr.net/npm/@innei/react-cdn-components@0.0.7/dist/components/Firework.js
name=MDX.Firework
height=25
```
此数据所有权由区块链加密技术和智能合约保障仅归创作者所有。
  • Loading...
  • Loading...
  • Loading...
  • Loading...
  • Loading...