rst2ansi 0.1.5

Creator: bradpython12

Last updated:

0 purchases

rst2ansi 0.1.5 Image
rst2ansi 0.1.5 Images

Languages

Categories

Add to Cart

Description:

rst2ansi 0.1.5

A python module dedicated to rendering RST (reStructuredText) documents
to ansi-escaped strings suitable for display in a terminal.


Installation

Requirements
Python 3.3+


PyPi package
pip install rst2ansi



Usage

As a CLI utility:
usage: rst2ansi [-h] [file]

Prints a reStructuredText input in an ansi-decorated format suitable for
console output.

positional arguments:
file A path to the file to open

optional arguments:
-h, --help show this help message and exit


As a python module:
from rst2ansi import rst2ansi

print(rst2ansi('I **love** reStructuredText!'))

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.