Skip to main content

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.

Download files

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

Source Distribution

term2md-0.3.4.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file term2md-0.3.4.tar.gz.

File metadata

  • Download URL: term2md-0.3.4.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6

File hashes

Hashes for term2md-0.3.4.tar.gz
Algorithm Hash digest
SHA256 da0d2732dd7d18ba9e2a53a7bcfcbeeb1626f74e75b4c70e7f19df85d96aa2bf
MD5 9a69e5af86ffe45b78890a547b473122
BLAKE2b-256 dae3db5d11c92b1364d39a9f0708ba8a9f5819e15820dc9ab6ee41f37dd23564

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.4 This release

1 file

0.3.3

1 file

0.3.2

1 file

0.3.1

1 file

0.3.0

1 file

0.2.0

1 file

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page