Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.33 KB

README.md

File metadata and controls

45 lines (34 loc) · 1.33 KB

minimap

Build Status PyPI version

Generate minimaps of your code

example

Requirements

minimap.py requires Python 3.6 or greater

Installation

You can install directly via pip

$ pip install -U setuptools # upgrade setuptools to install minimap
$ pip install minimap

Or from the github repository (master branch by default)

$ git clone https://github.com/Ivoah/minimap
$ cd minimap
$ sudo python setup.py install

Usage

minimap [-o OUTPUT [OUTPUT ...]] [-l LANGUAGE] [-s STYLE] [-w WIDTH]
           [-h HEIGHT] [--spacing SPACING] [--overwrite] files [files ...]

Options

-o            Output file (or files). Must come after input files if listing multiple
-l            Select language to highlight for (if it can't autodetect)
-s            Select highlighting style (use `-s list` to list all styles)
-w            Width of each character in pixels
-h            Height of each character in pixels
--spacing     Number of pixels to insert between rows
--overwrite   Overwrite output file if it already exists