HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

grip — Preview GitHub-flavored Markdown files locally. More information: <https://manned.org/grip>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandpreviewgripmarkdownflavoredfilesgithubcli

Problem

How to use the grip command: Preview GitHub-flavored Markdown files locally. More information: <https://manned.org/grip>.

Solution

grip — Preview GitHub-flavored Markdown files locally. More information: <https://manned.org/grip>.

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]}}


Start the server in the specified port and serve the rendered README file of the current directory:
grip {{port}}

Code Snippets

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]}}

Start the server in the specified port and serve the rendered `README` file of the current directory

grip {{port}}

Context

tldr-pages: common/grip

Revisions (0)

No revisions yet.