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

https://github.com/0mp/mantra

CLI for live preview of mandoc manual pages for documentation contributors.
https://github.com/0mp/mantra

auto-reload autoreload live-reload mandoc manpage manpages pager

Last synced: about 1 year ago
JSON representation

CLI for live preview of mandoc manual pages for documentation contributors.

Awesome Lists containing this project

README

          

# Mantra

Mantra is a CLI for previewing [mandoc](https://mandoc.bsd.lv/) manual pages with live auto-reload in a pager.

## Installation

Dependencies:

- [`entr`](http://eradman.com/entrproject/) (for watching file changes)
- [`less`](https://www.greenwoodsoftware.com/less/) (Less is the only supported pager at the moment)
- [`tmux`](https://github.com/tmux/tmux/wiki) (for scripting pager interactions)

```sh
make all
PREFIX=/usr/local make install
```

## Usage

```sh
mantra style.9
```

## License

BSD 2-Clause "Simplified" License