1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-17 20:35:53 +02:00
tldr/pages/common/grip.md

21 lines
516 B
Markdown
Raw Normal View History

2021-10-17 09:39:44 -04:00
# grip
> Preview GitHub-flavoured Markdown files locally.
> More information: <https://manned.org/grip>.
2021-10-17 09:39:44 -04:00
- Start the server and serve the rendered `README` file of a current directory:
`grip`
- Start the server and serve a specific Markdown file:
`grip {{path/to/file.md}}`
- Start the server and open the `README` file of the current directory in the browser:
`grip {{[-b|--browser]}}`
2021-10-17 09:39:44 -04:00
- Start the server in the specified port and serve the rendered `README` file of the current directory:
`grip {{port}}`