Skip to content

Commit

Permalink
Docs: 更新草稿参数
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Nov 18, 2024
1 parent af1138d commit a832ad2
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion content/en/tests/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: All Tests
titleIcon: fa-solid fa-flask
draft: true
cascade:
params:
type: posts
draft: true
---
1 change: 0 additions & 1 deletion content/en/tests/encryption/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Encrypt Test
date: 2022-05-21T22:31:22+08:00
draft: true
description: Test for encrypting content
password: 1212
message: Password is 1212
Expand Down
1 change: 0 additions & 1 deletion content/en/tests/fontawesome/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Font Awesome Test
date: 2022-04-19T10:15:22+08:00
draft: true
description: Test for rendering Font Awesome icons
tags:
- Tests
Expand Down
1 change: 0 additions & 1 deletion content/en/tests/highlight/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Highlight Test
date: 2022-02-27T18:45:22+08:00
draft: true
description: 'Test for code highlight feature'
tags:
- Tests
Expand Down
1 change: 0 additions & 1 deletion content/en/tests/shortcodes/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Shortcodes Test
date: 2022-03-07T22:31:22+08:00
draft: true
description: Test for shortcodes usages
tags:
- Tests
Expand Down
2 changes: 1 addition & 1 deletion content/zh-cn/tests/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: 测试
titleIcon: fa-solid fa-flask
draft: true
cascade:
params:
type: posts
draft: true
---
1 change: 0 additions & 1 deletion content/zh-cn/tests/encryption/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: 内容加密解密测试
date: 2022-05-28T00:24:22+08:00
draft: true
description: 内容加密解密测试
password: 1212
message: 密码是 1212
Expand Down
15 changes: 10 additions & 5 deletions content/zh-cn/tests/markdown/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Markdown 测试
date: 2022-04-20T17:50:22+08:00
draft: true
description: Test for Markdown rendering
tags:
- Tests
Expand All @@ -28,7 +27,7 @@ menu:

```
{{- /* Comments for Markdown */ -}}
{{- $content = replaceRE "%%(.|\n)*?%%" "" $content -}}
{{- $content = replaceRE "{?%}{?%}(.|\n)*?{?%}{?%}" "" $content -}}
{{- $content = replace $content "<p></p>" "" -}}
```

Expand All @@ -37,13 +36,13 @@ menu:
This is an {{</* comment */>}}inline{{</* /comment */>}} comment.
This is an %%inline%% comment.
This is an {?%}{?%}inline{?%}{?%} comment.
%%
{?%}{?%}
This is a block comment.
Block comments can span multiple lines.
%%
{?%}{?%}
```

<!-- This is a comment. -->
Expand Down Expand Up @@ -87,6 +86,12 @@ Block comments can span multiple lines.
## Marked Text

```
臣亮言:==先帝==[secondary]創業未半,而==中道崩殂==[info]。今天下三分,益州疲敝,此誠==危急存亡之秋==[danger]也!然侍衞之臣,不懈於內;==忠志之士==[primary],忘身於外者,蓋追先帝之殊遇,欲報之於陛下也。誠宜開張聖聽,以光先帝遺德,恢弘志士之氣;不宜妄自菲薄,引喻失義,以塞忠諫之路也。
宮中、府中,俱為一體;陟罰臧否,不宜異同。若有==作奸==[warning]、==犯科==[success],及為忠善者,宜付有司,論其刑賞,以昭陛下平明之治;不宜偏私,使內外異法也。
```

臣亮言:==先帝==[secondary]創業未半,而==中道崩殂==[info]。今天下三分,益州疲敝,此誠==危急存亡之秋==[danger]也!然侍衞之臣,不懈於內;==忠志之士==[primary],忘身於外者,蓋追先帝之殊遇,欲報之於陛下也。誠宜開張聖聽,以光先帝遺德,恢弘志士之氣;不宜妄自菲薄,引喻失義,以塞忠諫之路也。

宮中、府中,俱為一體;陟罰臧否,不宜異同。若有==作奸==[warning]、==犯科==[success],及為忠善者,宜付有司,論其刑賞,以昭陛下平明之治;不宜偏私,使內外異法也。
Expand Down
1 change: 0 additions & 1 deletion content/zh-cn/tests/print-article/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
title: 重新认识 JavaScript
subtitle: 学习 JavaScript 新特性
date: 2022-05-01T10:59:36+08:00
draft: true
description: 这是一篇测试 FixIt 主题在打印视图表现的测试文章
type: posts
tags:
Expand Down

0 comments on commit a832ad2

Please sign in to comment.