-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
部分命令的英文全称 #348
base: master
Are you sure you want to change the base?
部分命令的英文全称 #348
Conversation
@@ -1,5 +1,6 @@ | |||
apt-get | |||
=== | |||
`Advanced Package Tool Get` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以放到说明详情中, 命令介绍有别的用处。
@zz541843
如果你添加到此位置的 英文全称
,那么命令的详情
介绍就是英文全称
了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我应该知道你的意思了,我是觉得,这样显示出来的效果比放在补充说明里更直接一点。如果这样不行的话,那以后有空搞吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果你愿意的话,把爬详情的代码从原来的第4行改成第6行就可以了,你现在也是规范的放在第4行
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 158 in 0802e96
let des = str.match(/\n==={1,}([\s\S]*?)##/i); |
规范是从 ===
到 第一个 ##
中间内容是详情,你这有的有 命令全称,有的没有。 把第一个 `` 两个点之间的内容为命令全称
`Visual Editor` | ||
|
||
`vim => Visual Editor Improved` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果我们约定命令全称
, 此处又不太符合的样子
`本来应根据其功能描述“Convert an copy”命名为“cc” | ||
但“cc”已经被用以代表“CComplier”,所以命名为“dd”` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
此处如果新约定的 命令全称
也不适合,是不是需要放到补充说明中还是比较好?
@zz541843
看着英文全称记缩写命令应该更有帮助,实在太多了,分批次弄吧...