Skip to main content

convert ANSI terminal control characters to Markdown

Project description

term2md

This is a text processing utility that will convert input containing ANSI escape sequences into nearly-equivalent Markdown.

This is not currently a universal converter, since Markdown cannot express all of the formatting possible with the ANSI control characters. However, it does a reasonable job of handling green, red, and bold text.

term2md was written originally so that output from a tool designed for terminal output could be added via continuous integration as comments on pull requests.

Installation

$ pip install term2md

In addition to installing the core Python module, it will also install a term2md executable script for you.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for term2md, version 0.3.4
Filename, size File type Python version Upload date Hashes
Filename, size term2md-0.3.4.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page