Skip to content
A minimal viewer for Termimad
Rust
Branch: master
Clone or download
Latest commit 9b835dd Feb 13, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore Initial commit Jun 29, 2019
Cargo.toml use a new version of termimad (allowing code fences) Dec 26, 2019
LICENSE Initial commit Jun 29, 2019
README.md Update README.md Feb 13, 2020

README.md

clima

A viewer for Termimad.

This tiny application opens any Markdown file and displays it using Termimad.

Which isn't really useful as Termimad hasn't been designed to display any markdown file (Termimad is more of an helper to let you incorporate rich text and tables in your terminal applications).

Clima is this not a general purpose Markdown viewer but can be used to try out or fix some markdown you'd like to incorporate into your terminal application using Termimad and that you prefer to edit as a file.

Installation

Download the Repository

git clone https://github.com/Canop/clima

and build and install clima

cd clima
cargo install --path .

(note that clima needs at least rustc 1.4)

Usage

To open a file in the viewer, just pass its path:

clima README.md

If you add the --print option, the file is just printed to stdout, the scrollable viewer doesn't appear:

clima -p README.md
You can’t perform that action at this time.