Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Commit 66cc0a9

Browse files
committed
chore: remove text macros
Signed-off-by: Innei <[email protected]>
1 parent 1f400a9 commit 66cc0a9

File tree

4 files changed

+0
-115
lines changed

4 files changed

+0
-115
lines changed

pages/docs/features.mdx

-18
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
11
# 主要功能
22

3-
## Mix Space + Markdown > HTML
4-
5-
Mix Space 的 Markdown 除了支持标准的 Markdown 语法和 GFM 外,还支持「文本宏」,它可以让你在文章中使用动态数据,比如:
6-
7-
```html /[[ #dayjs($modified).format('YY-MM') ]]/
8-
<p align="right">更新于 [[ #dayjs($modified).format('YY-MM') ]]</p>
9-
```
10-
11-
在经过 Mix Space 处理后,会被替换成:
12-
13-
```html /22-04/
14-
<p align="right">更新于 22-04</p>
15-
```
16-
17-
这种简易的以 `[[` 开头, `]]` 结尾的语法,非常便于使用。你甚至可以使用任意 JS 代码去执行一个函数,也可以是一个 JS 语句。
18-
19-
了解更多有关文本宏的信息 [功能 - 文本宏](/usage/macros)
20-
213
## 日记
224

235
作为个人空间,日记是必不可少的功能。Mix Space 的日记功能非常强大,它支持:

pages/usage/_meta.json

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"type": "separator",
55
"title": "官方指南"
66
},
7-
"macros": "文本宏",
87
"serverless": "云函数",
98
"xlog": "xLog 集成",
109
"search": "Algolia Search",

pages/usage/index.mdx

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import { UilHistoryAlt } from '@components/Icons/HistoryAlt'
1818
import { UilArrowCircleUp } from '@components/Icons/ArrowCircleUp'
1919

2020
<Cards num={3}>
21-
<Card icon={<UimMasterCard />} arrow href={'/usage/macros'} title="文本宏" />
2221
<Card
2322
icon={<UilCloudDatabaseTree />}
2423
arrow

pages/usage/macros.mdx

-95
This file was deleted.

0 commit comments

Comments
 (0)