mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
style guide: add backtick syntax
This commit is contained in:
parent
826e7c8e3c
commit
e4733f650c
1 changed files with 15 additions and 0 deletions
|
@ -67,3 +67,18 @@ Keep the following guidelines in mind when choosing tokens:
|
||||||
|
|
||||||
In general, tokens should make it as intuitive as possible
|
In general, tokens should make it as intuitive as possible
|
||||||
to figure out how to use the command and fill it in with values.
|
to figure out how to use the command and fill it in with values.
|
||||||
|
|
||||||
|
|
||||||
|
More technical wording on description lines should use the `backtick` syntax.
|
||||||
|
Use backticks on the following:
|
||||||
|
|
||||||
|
1. Filenames, ex. `package.json`.
|
||||||
|
2. Directories, ex `/etc/ansible/hosts`.
|
||||||
|
3. Extensions, ex `.dll`.
|
||||||
|
4. Commands, ex `ls`.
|
||||||
|
5. Keyboard commands, ex. `CTRL+ALT+DEL`.
|
||||||
|
6. Port numbers, ex. `8080`.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue