Skip to main content

Markdown visualizer for the terminal with interactive features

Project description

mdt

MarkDown in Terminal - Renders a markdown page in the terminal

Welcome to MarkDown in Terminal!

Hi! I'm your first Markdown file that you can open with mdt. If you want to learn about mdt, you can clone this repository and open me from the terminal with

mdt README.md

If you want to play with Markdown, you can edit me. Once you have finished with me, you can run me in your terminal.

Project

This project is a Markdown file reader for your terminal.

mdt is built with Python, and uses the following libraries:

Features

mdt has the following features:

  • Interactive mode with dynamic adaptation to the terminal width.
  • You can choose your favourite among some available themes.
  • You can edit a them of add your own custom theme. Themes are defined with a simple JSON "CSS-like" format.
  • Intelligent word wrapping.

In interactive mode you can:

  • Open web links in the default browser (requires a graphic sessions to work).
  • Follow links to local files forward and backward, allowing a convenient exploration of "wiki-style" files.

Installation

Clone the repository.

If you have administration permissions, run:

pip install mdt-viewer

Options

The following options are available:

$ mdt --help
Usage: mdt [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  gallery  Shows a gallery with the available themes.
  show     Display the specified Markdown file.
  themes   Lists of available themes.

Project details


Download files

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

Source Distribution

mdt-viewer-0.1.2.tar.gz (27.4 kB view hashes)

Uploaded Source

Built Distribution

mdt_viewer-0.1.2-py3-none-any.whl (30.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page