Skip to content

Commit

Permalink
fix: strong tag
Browse files Browse the repository at this point in the history
  • Loading branch information
yanglbme committed Sep 4, 2024
1 parent 9b01406 commit 00931b8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
30 changes: 17 additions & 13 deletions src/assets/example/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ Markdown 是一种轻量级标记语言,用于格式化纯文本。它以简

```markdown
# 一级标题

## 二级标题

### 三级标题

#### 四级标题
```

Expand All @@ -23,12 +26,12 @@ Markdown 是一种轻量级标记语言,用于格式化纯文本。它以简
### 2. 段落与换行:自然流畅

Markdown 中的段落就是一行接一行的文本。要创建新段落,只需在两行文本之间空一行。
Markdown 中的段落就是一行接一行的文本。要创建新段落,只需在两行文本之间空一行。

### 3. 字体样式:强调你的文字

- **粗体**:用两个星号或下划线包裹文字,如 `**粗体**``__粗体__`
- *斜体*:用一个星号或下划线包裹文字,如 `*斜体*``_斜体_`
- _斜体_:用一个星号或下划线包裹文字,如 `*斜体*``_斜体_`
- ~~删除线~~:用两个波浪线包裹文字,如 `~~删除线~~`

这些简单的标记可以让你的内容更有层次感和重点突出。
Expand All @@ -41,8 +44,8 @@ Markdown 中的段落就是一行接一行的文本。要创建新段落,只
在列表中嵌套其他内容?只需缩进即可实现嵌套效果。

- 无序列表项 1
1. 嵌套有序列表项 1
2. 嵌套有序列表项 2
1. 嵌套有序列表项 1
2. 嵌套有序列表项 2
- 无序列表项 2

1. 有序列表项 1
Expand All @@ -68,7 +71,8 @@ Markdown 中的段落就是一行接一行的文本。要创建新段落,只
使用 `>` 来创建引用,只需在文本前面加上它。多层引用?在前一层 `>` 后再加一个就行。

> 这是一个引用
>> 这是一个嵌套引用
>
> > 这是一个嵌套引用
这让你的引用更加富有层次感。

Expand All @@ -95,10 +99,10 @@ console.log("Hello, Doocs!");

Markdown 支持简单的表格,用 `|``-` 分隔单元格和表头。

| 项目人员 | 邮箱 |
| ------ | ---- |
| [yanglbme](https://github.com/yanglbme) | [email protected] |
| [YangFong](https://github.com/YangFong) | [email protected] |
| 项目人员 | 邮箱 | 微信号 |
| --------------------------------------- | ---------------------- | ------------ |
| [YangFong](https://github.com/YangFong) | [email protected] | yq2419731931 |
| [yanglbme](https://github.com/yanglbme) | [email protected] | YLB0109 |

这样的表格让数据展示更为清爽!

Expand Down Expand Up @@ -129,10 +133,10 @@ $$
Mermaid 是强大的可视化工具,可以在 Markdown 中创建流程图、时序图等。

```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```

Expand Down
1 change: 1 addition & 0 deletions src/config/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ const defaultTheme: Theme = {
strong: {
'color': `var(--md-primary-color)`,
'font-weight': `bold`,
'font-size': `inherit`,
},

table: {
Expand Down

0 comments on commit 00931b8

Please sign in to comment.