mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-09 11:15:43 +02:00
style-guide: adjust mandatory slash style (#17499)
This commit is contained in:
parent
7be81b0603
commit
16c47eed2f
1 changed files with 2 additions and 2 deletions
|
@ -468,8 +468,8 @@ Keep the following guidelines in mind when choosing placeholders:
|
|||
except when the location is implicit.
|
||||
- When the path cannot be relative
|
||||
and has to start at the root of the filesystem,
|
||||
prefix it with a slash,
|
||||
such as `get {{/path/to/remote_file}}`.
|
||||
prefix it with a slash outside the placeholder,
|
||||
such as `get /{{path/to/remote_file}}`.
|
||||
- In case of a possible reference both to a file or a directory,
|
||||
use `{{path/to/file_or_directory}}`.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue