Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update markdown.md #327

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 11 additions & 18 deletions docs/pages/guide/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,9 @@
如果无法从文件扩展名推断源语言,这将很有帮助。
:::

## Code Groups
## Code Groups {lang="en"}

## 代码分组 {lang="zh-CN"}

::: en
You can group multiple code blocks like this:
Expand Down Expand Up @@ -563,7 +565,9 @@

:::

## Container
## Container {lang="en"}

## 容器 {lang="zh-CN"}

::: zh-CN

Expand Down Expand Up @@ -634,20 +638,12 @@
**输入**
:::


Check failure on line 641 in docs/pages/guide/markdown.md

View workflow job for this annotation

GitHub Actions / lint

More than 1 blank line not allowed
```md
::: en
When $a \ne 0$, there are two solutions to $(ax^2 + bx + c = 0)$ and they are
$$ x = {-b \pm \sqrt{b^2-4ac} \over 2a} $$

**Maxwell's equations:**
:::

::: zh-CN
当 $a \ne 0$时,$(ax^2 + bx + c = 0)$ 有两个解,他们是
$$ x = {-b \pm \sqrt{b^2-4ac} \over 2a} $$

**麦克斯韦方程:**
:::

| equation | description |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
Expand All @@ -658,19 +654,16 @@

::: en
**Output**
:::

::: zh-CN
**输出**
:::

::: en
When $a \ne 0$, there are two solutions to $(ax^2 + bx + c = 0)$ and they are
$$ x = {-b \pm \sqrt{b^2-4ac} \over 2a} $$

**Maxwell's equations:**
:::

::: zh-CN
**输出**
:::

::: zh-CN
当 $a \ne 0$时,$(ax^2 + bx + c = 0)$ 有两个解,他们是
$$ x = {-b \pm \sqrt{b^2-4ac} \over 2a} $$
Expand Down
Loading