go-grip

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 1 Imported by: 0

README ΒΆ


Logo

go-grip

Render your markdown files local
- with the look of GitHub

πŸš€ Getting started

To install go-grip, simply:

go install github.com/chrishrb/go-grip@latest

πŸ”¨ Usage

To render the README.md file simply execute:

go-grip README.md
# or
go-grip

The browser will automatically open on http://localhost:6419. You can disable this behaviour with the -b=false option.

You can also specify a port:

go-grip -p 80 README.md

or just open a file-tree with all available files in the current directory:

go-grip -r=false

It's also possible to activate the darkmode:

go-grip -d .

To terminate the current server simply press CTRL-C.

πŸ“ Examples

examples

πŸ› Known TODOs / Bugs

  • GitHub alert block
    > [!NOTE]
    > Useful information that users should know, even when skimming content.
    
  • Checkboxes (like in this todo list)
  • Tests and refactoring

πŸ“Œ Similar tools

This tool is, like the name already says, a reimplementation of grip in go and without using the web API of GitHub.

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL