mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 21:46:03 +02:00
Added more notes on tldr-lint
This commit is contained in:
parent
2512e05ad9
commit
90a22b69cb
1 changed files with 8 additions and 0 deletions
|
@ -37,6 +37,14 @@ The format of each page should match the following:
|
||||||
`command -opt1 -opt2`
|
`command -opt1 -opt2`
|
||||||
```
|
```
|
||||||
|
|
||||||
|
We actually have a linter/formatter that enforces our format.
|
||||||
|
It even automatically cleans up your pages for you! Installing it is easy:
|
||||||
|
|
||||||
|
```
|
||||||
|
npm install
|
||||||
|
tldr tldrl
|
||||||
|
```
|
||||||
|
|
||||||
### Token Syntax
|
### Token Syntax
|
||||||
User-provided values should use the `{{token}}` syntax in order to allow clients
|
User-provided values should use the `{{token}}` syntax in order to allow clients
|
||||||
to highlight them.
|
to highlight them.
|
||||||
|
|
Loading…
Add table
Reference in a new issue