An open API service indexing awesome lists of open source software.

https://github.com/akuli/md

Terminal markdown viewer
https://github.com/akuli/md

Last synced: 10 months ago
JSON representation

Terminal markdown viewer

Awesome Lists containing this project

README

          

# Markdown Viewer

This is a super simple markdown viewer written in Go
using [the glamour library](https://github.com/charmbracelet/glamour).

![screenshot](screenshot.png)

This project is not meant to be impressive or interesting in any way.
It is simply a much less bloated alternative to [glow](https://github.com/charmbracelet/glow),
which uses the same rendering library.

## Compiling

On Linux with `apt`:

```
$ sudo apt install golang
$ git clone https://github.com/Akuli/md
$ cd md
$ go build
$ ./md README.md
```

If you don't use linux or you don't have apt,
install Go in whatever way works for you
instead of running `sudo apt install golang`.

## Installing

Once you have compiled `md`, simply copy the executable to some location on your PATH.
For example:

```
$ cp md ~/bin/
```

Now you can run `md somefile.md` in any directory.