Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Commit

Permalink
fix: consistent badge's positions
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerwooo committed Sep 3, 2020
1 parent 441dd89 commit e4eb3af
Show file tree
Hide file tree
Showing 17 changed files with 92 additions and 70 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ WSL 的出现似乎缓解了这些烦恼。WSL —— Windows Subsystem for Linu

### 贡献规范

欢迎任何有经验的同学前来帮我共同完善本项目,鞠躬。在你着手准备给这个项目提交一些新内容前,请务必阅读「贡献」相关内容说明与规范 > [贡献指南](https://dowww.spencerwoo.com/contributing/)
欢迎任何有经验的同学前来帮我共同完善本项目,鞠躬。在你着手准备给这个项目提交一些新内容前,请务必阅读「贡献」相关内容说明与规范[贡献指南](https://dowww.spencerwoo.com/contributing/)

## 赞助

Expand Down
2 changes: 1 addition & 1 deletion docs/1-preparations/1-0-intro.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 序论 <Badge text="New" vertical="middle"/>
# 序论 <Badge text="New"/>

![](https://cdn.spencer.felinae98.cn/github/2020/09/200902_220309.png)

Expand Down
4 changes: 2 additions & 2 deletions docs/1-preparations/1-1-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-L
- SUSE Linux Enterprise Server: [12](https://www.microsoft.com/store/productId/9P32MWBH6CNS), [15](https://www.microsoft.com/store/productId/9PMW35D7FNLX)
- [Debian GNU/Linux](https://www.microsoft.com/store/productId/9MSVKQC78PK6)
- [Kali Linux](https://www.microsoft.com/store/productId/9PKR34TNCV07)
- [Pengwin](https://www.microsoft.com/store/productId/9NV1GV1PXZ6P) - [GitHub | WhitewaterFoundry/Pengwin](https://github.com/WhitewaterFoundry/Pengwin)<Badge text="付费" vertical="top"/>
- [Pengwin](https://www.microsoft.com/store/productId/9NV1GV1PXZ6P) - [GitHub | WhitewaterFoundry/Pengwin](https://github.com/WhitewaterFoundry/Pengwin)<Badge text="付费"/>
- [Alpine WSL](https://www.microsoft.com/store/productId/9P804CRF0395) - [GitHub | agowa338/WSL-DistroLauncher-Alpine](https://github.com/agowa338/WSL-DistroLauncher-Alpine)
- [Fedora Remix for WSL](https://www.microsoft.com/en-us/p/fedora-remix-for-wsl/9n6gdm4k2hnc) - [GitHub | WhitewaterFoundry/Fedora-Remix-for-WSL](https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL) <Badge text="付费" vertical="top"/>
- [Fedora Remix for WSL](https://www.microsoft.com/en-us/p/fedora-remix-for-wsl/9n6gdm4k2hnc) - [GitHub | WhitewaterFoundry/Fedora-Remix-for-WSL](https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL) <Badge text="付费"/>

### 社区支持的 WSL

Expand Down
2 changes: 1 addition & 1 deletion docs/2-cli/2-0-intro.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 概要 <Badge text="New" vertical="middle"/>
# 概要 <Badge text="New"/>

![](https://cdn.spencer.felinae98.cn/github/2020/09/200902_220447.png)

Expand Down
2 changes: 1 addition & 1 deletion docs/3-vscode/3-0-intro.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Visual Studio Code <Badge text="New" vertical="middle"/>
# Visual Studio Code

![](https://cdn.spencer.felinae98.cn/github/2020/09/200902_221343.png)

Expand Down
2 changes: 1 addition & 1 deletion docs/3-vscode/3-2-code-runner.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Code Runner <a href="https://github.com/spencerwooo"> <Badge text="@SpencerWoo" vertical="middle"/></a>
# Code Runner <a href="https://github.com/spencerwooo"> <Badge text="@SpencerWoo"/></a>

Code Runner 是一个能够一键执行编译运行的 VS Code 插件,支持多达 44 种语言。支持在代码工作区右键选择 `Run Code`、在 Command Palette (`Ctrl + Shift + P`) 输入 Run Code、或者直接快捷键 `Ctrl + Alt + N` 快速编译执行代码。无论哪种语言的开发环境,我都推荐安装。

Expand Down
2 changes: 1 addition & 1 deletion docs/3-vscode/3-3-python.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Python <a href="https://github.com/spencerwooo"><Badge text="@SpencerWoo" vertical="middle"/></a>
# Python <a href="https://github.com/spencerwooo"><Badge text="@SpencerWoo"/></a>

## 安装 VS Code 插件

Expand Down
2 changes: 1 addition & 1 deletion docs/3-vscode/3-4-c_cpp.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# C/C++ <a href="https://github.com/spencerwooo"><Badge text="@SpencerWoo" vertical="middle"/></a>
# C/C++ <a href="https://github.com/spencerwooo"><Badge text="@SpencerWoo"/></a>

::: callout 🥐 本文内容
本文我们会对利用 VS Code 在 WSL 环境中编写 C、C++ 程序的方法进行介绍。本文主要面向学习 C、C++ 语言的同学,包括使用 C、C++ 实现各项算法的 ACM 竞赛同学,以及学习数据结构等知识的同学。值得注意的是,本文的配置项目可能仅仅适合单个 C、C++ 代码文件的编译运行,涉及到大型 C、C++ 项目我更加推荐使用专业 IDE(比如 Visual Studio)进行开发工作。
Expand Down
2 changes: 1 addition & 1 deletion docs/3-vscode/3-5-latex.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# LaTeX <a href="https://patrickwu.space"><Badge text="@patrick330602" vertical="middle"/></a>
# LaTeX <a href="https://patrickwu.space"><Badge text="@patrick330602"/></a>

用 WSL 下的 TeXLive 和 Visual Studio Code 的 LaTeX Workshop 可以完全配置好一个可用的 Windows LaTeX 环境,摆脱 Windows 下蛋疼的 TexLive 安装包。

Expand Down
4 changes: 2 additions & 2 deletions docs/3-vscode/3-6-nodejs.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Node.js <a href="https://github.com/suyanhanx"><Badge text="@suyanhanx" vertical="middle"/></a>
# Node.js <a href="https://github.com/suyanhanx"><Badge text="@suyanhanx"/></a>

首先,明确几个概念:

Expand Down Expand Up @@ -107,7 +107,7 @@ yarn set registry https://registry.npm.taobao.org
$LANG=en.us-utf8
```

## 配置 ESLint <a href="https://github.com/spencerwooo"><Badge text="Updated by @SpencerWoo" vertical="middle"/></a>
## 配置 ESLint <a href="https://github.com/spencerwooo"><Badge text="@SpencerWoo"/></a>

> A fully pluggable tool for identifying and reporting on patterns in JavaScript.

Expand Down
2 changes: 1 addition & 1 deletion docs/3-vscode/3-7-dotnetcore.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# .Net Core <a href="https://github.com/dhssingle"><Badge text="@dhssingle" vertical="middle"/></a>
# .Net Core <a href="https://github.com/dhssingle"><Badge text="@dhssingle"/></a>

:::callout 🥦 前导知识
[.NET Core](https://docs.microsoft.com/zh-cn/dotnet/core/about) 是开放源代码通用开发平台,由 Microsoft 和 .NET 社区在 [GitHub](https://github.com/dotnet/core) 上共同维护。它跨平台(支持 Windows、macOS 和 Linux),并且可用于生成设备、云和 IoT 应用程序。
Expand Down
2 changes: 1 addition & 1 deletion docs/4-advanced/4-0-intro.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 概要 <Badge text="New" vertical="middle"/>
# 概要 <Badge text="New"/>

![](https://cdn.spencer.felinae98.cn/github/2020/09/200902_221200.png)

Expand Down
2 changes: 1 addition & 1 deletion docs/4-advanced/4-2-lxrunoffline.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 未受支持的 Linux 发行版 <a href="https://github.com/llinfeng"><Badge text="@llinfeng" vertical="middle"/></a> <Badge text="en_US" type="warning" vertical="middle"/>
# 未受支持的 Linux 发行版 <a href="https://github.com/llinfeng"><Badge text="@llinfeng"/></a> <Badge text="en_US" type="warning"/>

::: callout 🥞 本文内容
本文重点关注如何在 WSL 中从头部署一个完整的 Linux 发行版。如果你希望使用的 Linux 发行版并未被官方支持,当前也没有社区的支持,那么你可能需要按照下面的方法进行配置。在少数派上有更为详细的中文介绍:[想安装更多 Linux 发行版?LxRunOffline 让 WSL 更好用](https://sspai.com/post/61634).
Expand Down
2 changes: 1 addition & 1 deletion docs/4-advanced/4-3-wslconfig.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 配置 WSL 2 全局设置 <a href="https://github.com/Diffumist"><Badge text="@Diffumist" vertical="middle"/></a>
# 配置 WSL 2 全局设置 <a href="https://github.com/Diffumist"><Badge text="@Diffumist"/></a>

::: callout 📟 版本限制
请注意,这些配置可在 Windows Build 19041 及以后版本中使用,且仅限 WSL 2。
Expand Down
2 changes: 1 addition & 1 deletion docs/4-advanced/4-4-usb.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 让 WSL 2 支持 USB <Badge text="WSL 2" vertical="middle"/>
# 让 WSL 2 支持 USB <Badge text="WSL 2"/>

::: callout 📟 版本限制
请注意,本文方法需要 Windows Build 19041 及以后版本,且仅限 WSL 2 使用。本部分参考了这一 GitHub 仓库中的介绍:[Adding USB support to WSL 2](https://github.com/rpasek/usbip-wsl2-instructions).
Expand Down
2 changes: 1 addition & 1 deletion docs/5-others/5-0-intro.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 后记 <Badge text="New" vertical="middle"/>
# 后记 <Badge text="New"/>

![](https://cdn.spencer.felinae98.cn/github/2020/09/200902_221105.png)

Expand Down
Loading

0 comments on commit e4eb3af

Please sign in to comment.