multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:

committed by
GitHub

parent
dc690e38eb
commit
a5fe31bc47
@@ -2,6 +2,6 @@
|
||||
|
||||
> 命令强制 shell 执行命令程序,并忽略具有相同名称的任何函数、内置函数和别名(会忽略掉一切别名,执行命令本身).
|
||||
|
||||
- 从字面上执行 ls 程序,即使存在 ls 别名:
|
||||
- 从字面上执行 `ls` 程序,即使存在 ls 别名:
|
||||
|
||||
`command {{ls}}`
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> 在 ssh 代理中管理加载的 ssh 密钥.
|
||||
> 需要确保 ssh 代理已启动并正在运行以加载其中的密钥.
|
||||
|
||||
- 将 "~/.ssh" 中的默认 ssh 密钥添加到 ssh 代理:
|
||||
- 将 `~/.ssh` 中的默认 ssh 密钥添加到 `ssh` 代理:
|
||||
|
||||
`ssh-add`
|
||||
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
> 用于操作各种格式的文本文件.
|
||||
|
||||
- 显示有关 foo.rtf 的信息:
|
||||
- 显示有关 `foo.rtf` 的信息:
|
||||
|
||||
`textutil -info {{foo.rtf}}`
|
||||
|
||||
- 将 foo.rtf 转换为 foo.html:
|
||||
- 将 `foo.rtf` 转换为 `foo.html`:
|
||||
|
||||
`textutil -convert {{html}} {{foo.rtf}}`
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
|
||||
`textutil {{foo.rtf}} -convert {{txt}}`
|
||||
|
||||
- 将 foo.txt 转换为 foo.rtf, 字体使用 Times 字号 10:
|
||||
- 将 `foo.txt` 转换为 `foo.rtf`, 字体使用 Times 字号 10:
|
||||
|
||||
`textutil -convert {{rtf}} -font {{Times}} -fontsize {{10}} {{foo.txt}}`
|
||||
|
||||
- 加载当前目录中的所有 RTF 文件,连接其内容,并将结果作为 index.html 写入,HTML 标题设置为"多个文件":
|
||||
- 加载当前目录中的所有 RTF 文件,连接其内容,并将结果作为 `index.html` 写入,HTML 标题设置为"多个文件":
|
||||
|
||||
`textutil -cat {{html}} -title "多个文件" -output {{index.html}} *.rtf`
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# yank
|
||||
|
||||
> 从 `stdin` 读取输入并显示一个选择界面,该界面允许选择一个字段并将其复制到剪贴板.
|
||||
> 从 stdin 读取输入并显示一个选择界面,该界面允许选择一个字段并将其复制到剪贴板.
|
||||
|
||||
- 使用默认分隔符 (\f, \n, \r, \s, \t):
|
||||
|
||||
|
Reference in New Issue
Block a user