mirror of
https://github.com/jaywcjlove/reference.git
synced 2026-04-05 15:39:05 +08:00
Compare commits
2 Commits
be4dbe6c13
...
9f0cbc9c91
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f0cbc9c91 | ||
|
|
4affbe12a8 |
@@ -193,6 +193,7 @@ attrib命令可以列出或修改磁盘上文件的属性,
|
|||||||
`nbtstat -A ip` | 对方136到139其中一个端口开了的话,就可查看对方最近登陆的用户名
|
`nbtstat -A ip` | 对方136到139其中一个端口开了的话,就可查看对方最近登陆的用户名
|
||||||
|
|
||||||
### taskkill 命令
|
### taskkill 命令
|
||||||
|
|
||||||
参数 | action
|
参数 | action
|
||||||
:--- | :--
|
:--- | :--
|
||||||
`taskkill /f | 强制终止进程(最常用,防止进程无响应)
|
`taskkill /f | 强制终止进程(最常用,防止进程无响应)
|
||||||
|
|||||||
141
docs/markdown.md
141
docs/markdown.md
@@ -137,11 +137,11 @@ console.log("This is a block code")
|
|||||||
```
|
```
|
||||||
````
|
````
|
||||||
|
|
||||||
```markdown
|
````markdown
|
||||||
~~~css
|
~~~css
|
||||||
.button { border: none; }
|
.button { border: none; }
|
||||||
~~~
|
~~~
|
||||||
```
|
````
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
4 空格缩进做一个代码块
|
4 空格缩进做一个代码块
|
||||||
@@ -248,7 +248,144 @@ Markdown 表格生成器:[tableconvert.com](https://tableconvert.com/)
|
|||||||
目前只支持部分段内 HTML 元素效果,包括 <kbd>, <b>, <i>, <em>, <sup>, <sub>, <br>
|
目前只支持部分段内 HTML 元素效果,包括 <kbd>, <b>, <i>, <em>, <sup>, <sub>, <br>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Github 相关语法
|
||||||
|
----
|
||||||
|
|
||||||
|
### 代码语法高亮
|
||||||
|
|
||||||
|
````markdown
|
||||||
|
```javascript
|
||||||
|
function hello() {
|
||||||
|
console.log("Hello, GitHub!");
|
||||||
|
}
|
||||||
|
```
|
||||||
|
````
|
||||||
|
|
||||||
|
### 任务列表
|
||||||
|
<!--rehype:wrap-class=col-span-2-->
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
- [x] 已完成的任务
|
||||||
|
- [ ] 未完成的任务
|
||||||
|
- [x] @mentions, #refs, [链接](), **格式**, 和 <del>标签</del> 支持
|
||||||
|
- [x] 列表语法必填 (任何无序或有序列表支持)
|
||||||
|
- [x] 这是一个完整项目
|
||||||
|
- [ ] 这是一个未完成项目
|
||||||
|
```
|
||||||
|
|
||||||
|
### 删除线
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
任何用两个波浪号包裹的词语 (例如 ~~这样~~) 都会出现删除线。
|
||||||
|
```
|
||||||
|
<!--rehype:className=wrap-text-->
|
||||||
|
|
||||||
|
### 自动链接
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
http://www.github.com/ 和 https://help.github.com/ 会自动转换为链接。
|
||||||
|
```
|
||||||
|
<!--rehype:className=wrap-text-->
|
||||||
|
|
||||||
|
### @提及 和 Issues 引用
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
@username 会通知用户来查看评论
|
||||||
|
#123 会引用仓库中的 issue 或 pull request
|
||||||
|
```
|
||||||
|
|
||||||
|
### 表情符号
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
GitHub 支持表情符号! :+1: :sparkles: :camel: :tada:
|
||||||
|
:rocket: :metal: :octocat:
|
||||||
|
```
|
||||||
|
<!--rehype:className=wrap-text-->
|
||||||
|
|
||||||
|
### 警告框
|
||||||
|
<!--rehype:wrap-class=row-span-2-->
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
> [!NOTE]
|
||||||
|
> 有用的信息,用户需要知道,即使浏览时也是如此。
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> 有用的建议,可以帮助用户做得更好。
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> 用户成功所需的关键信息。
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> 用户需要立即关注的重要内容,以避免问题。
|
||||||
|
|
||||||
|
> [!CAUTION]
|
||||||
|
> 有关可能有风险或负面结果的行为的建议。
|
||||||
|
```
|
||||||
|
|
||||||
|
### 脚注
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
一个简单的脚注[^1],一个更长的脚注[^bignote]。
|
||||||
|
|
||||||
|
[^1]: 这是第一个脚注。
|
||||||
|
[^bignote]: 这里是一个有多行的脚注。
|
||||||
|
```
|
||||||
|
|
||||||
|
### 数学公式
|
||||||
|
|
||||||
|
````markdown
|
||||||
|
行内数学:$\sqrt{3x-1}+(1+x)^2$
|
||||||
|
|
||||||
|
块级数学:
|
||||||
|
|
||||||
|
```math
|
||||||
|
\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
|
||||||
|
```
|
||||||
|
````
|
||||||
|
|
||||||
|
GitHub 的数学呈现功能使用 MathJax,请参阅 [MathJax](http://docs.mathjax.org/en/latest/input/tex/index.html#tex-and-latex-support) 文档和 [MathJax](https://mathjax.github.io/MathJax-a11y/docs/#reader-guide) 辅助功能扩展文档。
|
||||||
|
|
||||||
|
### 折叠块
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
<details>
|
||||||
|
<summary>点击展开更多详情</summary>
|
||||||
|
|
||||||
|
这是折叠的内容。
|
||||||
|
|
||||||
|
- 代码块
|
||||||
|
- 其他任何 Markdown 内容
|
||||||
|
|
||||||
|
</details>
|
||||||
|
```
|
||||||
|
|
||||||
|
### 代码块中的差异
|
||||||
|
|
||||||
|
````markdown
|
||||||
|
```diff
|
||||||
|
function addTwoNumbers (num1, num2) {
|
||||||
|
- return 1 + 2
|
||||||
|
+ return num1 + num2
|
||||||
|
}
|
||||||
|
```
|
||||||
|
````
|
||||||
|
|
||||||
|
### 创建 Mermaid 图表
|
||||||
|
|
||||||
|
````markdown
|
||||||
|
```mermaid
|
||||||
|
graph TD;
|
||||||
|
A-->B;
|
||||||
|
A-->C;
|
||||||
|
B-->D;
|
||||||
|
C-->D;
|
||||||
|
```
|
||||||
|
````
|
||||||
|
|
||||||
|
有关语法文档,请参阅 [Mermaid 文档](https://mermaid.js.org)
|
||||||
|
|
||||||
另见
|
另见
|
||||||
----
|
----
|
||||||
|
|
||||||
- [GitHub 风格的 Markdown 规范](https://github.github.com/gfm/) _(github.com)_
|
- [GitHub 风格的 Markdown 规范](https://github.github.com/gfm/) _(github.com)_
|
||||||
|
- [GitHub 基本写作和格式语法](https://docs.github.com/zh/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax) _(docs.github.com)_
|
||||||
|
|||||||
Reference in New Issue
Block a user