mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
style-guide.md: add tip to view file locally (#1928)
This commit is contained in:
parent
4e245b2b17
commit
c93f4b96f5
1 changed files with 7 additions and 1 deletions
|
@ -33,6 +33,12 @@ tldrl -f {{page.md}}
|
|||
For other ways to use `tldrl`, such as linting an entire directory, check out (what else!)
|
||||
[`tldr tldrl`](https://github.com/tldr-pages/tldr/blob/master/pages/common/tldrl.md)
|
||||
|
||||
If you're using the Node.js client of `tldr`, you can preview a page locally using the `-f` flag (aka `--render`):
|
||||
|
||||
```
|
||||
tldr -f {{page.md}}
|
||||
```
|
||||
|
||||
## Token syntax
|
||||
|
||||
User-provided values should use the `{{token}}` syntax
|
||||
|
|
Loading…
Add table
Reference in a new issue