mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02: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!)
|
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)
|
[`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
|
## Token syntax
|
||||||
|
|
||||||
User-provided values should use the `{{token}}` syntax
|
User-provided values should use the `{{token}}` syntax
|
||||||
|
|
Loading…
Add table
Reference in a new issue