Skip to content

Commit 1bf7bd8

Browse files
authored
docs: Update README.md
1 parent b74e73a commit 1bf7bd8

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,21 @@
1919
- Supports formatting inside *code blocks* and recognizes *mathematical expressions*, *HTML elements*, *YAML front matter*, and *fenced code blocks* for correct formatting.
2020
- Applies an extended AST parsing to ensure natural language structures like punctuations and latin characters are padded correctly.
2121

22-
Here's a [demo](https://github.com/harttle/md-padding/tree/master/demo) showing changes made by formatting:
22+
Here's a change made by md-padding:
2323

24-
![raw.md vs formatted.md - Diff](https://user-images.githubusercontent.com/4427974/73588871-6e8d5600-4509-11ea-8c42-9debaaad9008.png)
24+
```diff
25+
- # 如何中ArchLinux中安装X11?
26+
+ # 如何中 ArchLinux 中安装 X11?
27+
28+
- 首先要安装ArchLinux,然后安装`xorg-server`软件包:
29+
+ 首先要安装 ArchLinux,然后安装 `xorg-server` 软件包:
30+
31+
- 确保你的xorg-server版本已经足够高,比如>=1.20,然后安装**合适**的驱动:
32+
+ 确保你的 xorg-server 版本已经足够高,比如 >= 1.20,然后安装 **合适** 的驱动:
33+
34+
- 如果你需要3D加速等新的功能,可能还需要安装*闭源驱动*。详情请参考[ArchWiki里的对应章节](https://wiki.archlinux.org/index.php/Xorg)。
35+
+ 如果你需要 3D 加速等新的功能,可能还需要安装 *闭源驱动*。详情请参考 [ArchWiki 里的对应章节](https://wiki.archlinux.org/index.php/Xorg)。
36+
```
2537

2638
## Command Line Interface
2739

@@ -88,7 +100,7 @@ Install the [Markdown Padding](https://marketplace.visualstudio.com/items?itemNa
88100
| `mdpadding.ignoreWords` | `Array<string>` | Words to exclude from padding adjustments |
89101
| `mdpadding.ignorePatterns` | `Array<string>` | Regular expressions defining patterns to ignore |
90102

91-
## Q & A
103+
## Q&A
92104

93105
### How to ignore a specific section
94106

0 commit comments

Comments
 (0)