寒武

寒武

Shiro语法暂记

列表和 GFM 任务#

  1. 第一
  2. 第二
    1. 2.1
    2. 2.2
      1. 3.1
  3. 第三
  4. 第四
  • 复选框
  • 复选框已完成

    • 行 1.1
  • 行 2

定义列表#

术语 1

: 定义 1
带有懒惰的续行。

术语 2 带有 内联标记

: 定义 2

    { 一些代码,定义 2 的一部分 }

定义 2 的第三段。

紧凑风格:

术语 1
~ 定义 1

术语 2
~ 定义 2a
~ 定义 2b

缩写#

这是 HTML 缩写示例。

它转换 “HTML”,但保持部分条目如 “xxxHTMLyyy” 等不变。

*[HTML]: 超文本标记语言

表格#

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

令牌#

这是一个 || 剧透 ||

这是一个 ||剧透||

一个 代码

一个 `代码`

== 标记 == 它。

==标记== 它。

++ 插入某物 ++

++插入某物++

Latex#

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

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

容器#

横幅#

::: warning
这里有龙
:::

::: warning
_这里有龙_
:::

::: 横幅 {error}
这里有龙
:::

::: 横幅 {error}
_这里有龙_
:::

画廊#

::: 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 '图片')
:::

::: gallery
https://loremflickr.com/640/480/city?1
https://loremflickr.com/640/480/city?2
https://loremflickr.com/640/480/city?3
image
:::

网格#

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

网格 1

网格 2

网格 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 '图片')

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

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

:::

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

网格 1

网格 2

网格 3

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

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

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

image

image

image

:::

图片网格#

::: 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=3,gap=12,type=images}
image
image
image
image
image
image
image
image
image
:::

::: 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)
:::

::: grid {cols=3,rows=2,gap=12,type=images}
image
image
image
image
image
image
:::

丰富链接#

https://github.com/Innei/Shiro
https://twitter.com/zhizijun/status/1649822091234148352?s=20

https://www.youtube.com/watch?v=N93cTbtLCIM
https://gist.github.com/Innei/94b3e8f078d29e1820813a24a3d8b04e

https://gist.github.com/Innei/94b3e8f078d29e1820813a24a3d8b04e

https://github.com/vuejs/vitepress/commit/71eb11f72e60706a546b756dc3fd72d06e2ae4e2

https://github.com/vuejs/vitepress/commit/71eb11f72e60706a546b756dc3fd72d06e2ae4e2

https://codesandbox.io/s/framer-motion-layoutroot-prop-forked-p39g96
https://github.com/Innei/Shiro/blob/108d4c3e927e1c9c9304e41a0631f91958477d9f/src/providers/root/modal-stack-provider.tsx

https://github.com/Innei/Shiro/blob/108d4c3e927e1c9c9304e41a0631f91958477d9f/src/providers/root/modal-stack-provider.tsx

https://github.com/Innei/Shiro/pull/129

https://github.com/Innei/Shiro/pull/129

https://github.com/Innei/Shiro/commit/6957e011439eb2d3cbf42bfb67ed81b07d4bcc2a

https://github.com/Innei/Shiro/commit/6957e011439eb2d3cbf42bfb67ed81b07d4bcc2a

https://trpc.io/docs/client/react/useInfiniteQuery

https://trpc.io/docs/client/react/useInfiniteQuery

[TRPC](https://trpc.io/docs/client/react/useInfiniteQuery)

TRPC

LinkCard#

<LinkCard source="gh" id="mx-space/kami">
<LinkCard source="gh-commit" id="mx-space/kami/commit/e1eee4136c21ab03ab5690e17025777984c362a0">

内联链接解析器#

内联 [Innei](https://github.com/Innei)

内联 Innei

内联 [pseudoyu](https://twitter.com/pseudo_yu)

内联 pseudoyu

内联 <https://github.com/Innei>

内联 https://github.com/Innei

内联 https://github.com/Innei

内联 https://github.com/Innei

提及#

[Innei]{GH@Innei}

[Innei 太菜了]{GH@Innei}

警报#

> [!NOTE]
> 强调用户在浏览时应考虑的信息。

> [!IMPORTANT]
> 用户成功所需的重要信息。

> [!WARNING]
> 由于潜在风险,要求用户立即关注的关键内容。

Note

强调用户在浏览时应考虑的信息。

Important

用户成功所需的重要信息。

Warning

由于潜在风险,要求用户立即关注的关键内容。

KateX#

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

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

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

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

$P(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#

{"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":{}}
```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 远程组件渲染#

import=https://cdn.jsdelivr.net/npm/@innei/react-cdn-components@0.0.7/dist/components/Firework.js
name=MDX.Firework
height=25
```component
import=https://cdn.jsdelivr.net/npm/@innei/react-cdn-components@0.0.7/dist/components/Firework.js
name=MDX.Firework
height=25
```

此文由 Mix Space 同步更新至 xLog
原始链接为 https://www.xiaozhengyang.com/posts/life/markdown.html


加载中...
此文章数据所有权由区块链加密技术和智能合约保障仅归创作者所有。