183
GitHub - Ivoah/minimap: Generate minimaps of your code
source link: https://github.com/Ivoah/minimap
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
minimap
Generate minimaps of your code
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
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK