Skip to content

Commit 5372ace

Browse files
Mikachu2333ccmywish
authored andcommitted
format readme
1 parent e60ff26 commit 5372ace

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

README.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@
3939

4040
> [!TIP]
4141
> **`chsrc` 不仅是一个命令行工具,同时也是一个体现了 Ruby on Rails 思想的 MVC 换源框架,它甚至使你能够在不了解C语言的情况下编写出新的换源方法(recipe)。** [Write A Recipe Even If You Don't Know C](./doc/02-Write-A-Recipe-Even-If-You-Dont-Know-C.md)
42-
42+
---
4343
> [!NOTE]
4444
> **`chsrc` 可换源 60+ 目标。每个人仅仅贡献和维护自己熟悉的部分,回报是得到其他所有领域专家的帮助**。欢迎对 GitHub、Gitee 协作不熟悉的人以此为契机学习参与贡献, 欢迎任何编程初学者参与贡献。[从开发到提交贡献,我们覆盖全流程文档](./doc/)
4545
,另外作者可提供一定的 [贡献指导](https://github.com/RubyMetric/chsrc/discussions/50)
46-
46+
---
4747
> [!IMPORTANT]
4848
> [招募 recipe 维护者](https://github.com/RubyMetric/chsrc/issues/130)
4949
@@ -68,16 +68,14 @@
6868

6969
</details>
7070

71-
7271
<details>
7372
<summary>镜像站可用性</summary>
7473

75-
1. https://github.com/RubyMetric/chsrc/wiki
76-
2. https://github.com/RubyMetric/chsrc/discussions
74+
1. <https://github.com/RubyMetric/chsrc/wiki>
75+
2. <https://github.com/RubyMetric/chsrc/discussions>
7776

7877
</details>
7978

80-
8179
<details>
8280
<summary>打包</summary>
8381

@@ -118,15 +116,15 @@
118116
- 可通过 `scoop` 安装,感谢 [@Gn3po4g][@niheaven]
119117

120118
```bash
121-
$ scoop install chsrc
119+
scoop install chsrc
122120
```
123121

124122
<br>
125123

126124
- 可通过 `WinGet` 安装,感谢 [@YU-7]
127125

128126
```bash
129-
$ winget install RubyMetric.chsrc
127+
winget install RubyMetric.chsrc
130128
```
131129

132130
<br>
@@ -150,6 +148,7 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-windo
150148
# x86
151149
curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x86-windows.exe -o chsrc.exe
152150
```
151+
153152
</details>
154153

155154
<details>
@@ -223,7 +222,7 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-armv7-lin
223222
- 可通过 `homebrew` 安装,感谢 [@Aaron-212][@chenrui333]
224223

225224
```bash
226-
$ brew install chsrc
225+
brew install chsrc
227226
```
228227

229228
<br>
@@ -257,23 +256,26 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-aarch64-m
257256
# x64
258257
curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-macos -o chsrc; chmod +x ./chsrc
259258
```
259+
260260
</details>
261261

262262
<details>
263263
<summary>BSD</summary>
264264

265265
```bash
266-
$ git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc
267-
$ clang -Iinclude -Ilib src/chsrc-main.c -o chsrc
266+
git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc
267+
clang -Iinclude -Ilib src/chsrc-main.c -o chsrc
268268
```
269+
269270
</details>
270271

271272
<details>
272273
<summary>其他平台</summary>
273274

274275
```bash
275-
$ git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc; make
276+
git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc; make
276277
```
278+
277279
</details>
278280

279281
<br>
@@ -451,6 +453,7 @@ chsrc set conda | anaconda
451453
## ❤️ 致谢
452454

453455
感谢各个镜像站提供的优质免费镜像服务
456+
454457
1. [mirror.c](./src/framework/mirror.c) 包含了通用的镜像站信息
455458
2. 各个recipe内部定义的专用镜像站
456459

@@ -472,17 +475,12 @@ chsrc set conda | anaconda
472475

473476
<br>
474477

475-
476-
477478
[@Aaron-212]: https://github.com/Aaron-212
478479
[@chenrui333]: https://github.com/chenrui333
479480
[@niheaven]: https://github.com/niheaven
480481
[@Gn3po4g]: https://github.com/Gn3po4g
481482
[@Jerry-Terrasse]: https://github.com/Jerry-Terrasse
482-
[@ccmywish]: https://github.com/ccmywish
483483
[@Efterklang]: https://github.com/Efterklang
484484
[@wickdynex]: https://github.com/wickdynex
485485
[@YU-7]: https://github.com/YU-7
486486
[@sanchuanhehe]: https://github.com/sanchuanhehe
487-
488-
[issue#98 on GitHub]: https://github.com/RubyMetric/chsrc/issues/98

0 commit comments

Comments
 (0)