This repository was archived by the owner on Nov 2, 2024. It is now read-only.
File tree 4 files changed +0
-115
lines changed
4 files changed +0
-115
lines changed Original file line number Diff line number Diff line change 1
1
# 主要功能
2
2
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
-
21
3
## 日记
22
4
23
5
作为个人空间,日记是必不可少的功能。Mix Space 的日记功能非常强大,它支持:
Original file line number Diff line number Diff line change 4
4
"type" : " separator" ,
5
5
"title" : " 官方指南"
6
6
},
7
- "macros" : " 文本宏" ,
8
7
"serverless" : " 云函数" ,
9
8
"xlog" : " xLog 集成" ,
10
9
"search" : " Algolia Search" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import { UilHistoryAlt } from '@components/Icons/HistoryAlt'
18
18
import { UilArrowCircleUp } from ' @components/Icons/ArrowCircleUp'
19
19
20
20
<Cards num = { 3 } >
21
- <Card icon = { <UimMasterCard />} arrow href = { ' /usage/macros' } title = " 文本宏" />
22
21
<Card
23
22
icon = { <UilCloudDatabaseTree />}
24
23
arrow
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments