Markdown

mdterm – interactive terminal Markdown viewer

mdterm is a terminal-based Markdown viewer that combines formatted document rendering with interactive navigation. It is particularly useful for reading technical documentation containing source code, mathematical expressions, diagrams and embedded images.

The software provides both an interactive interface and a non-interactive rendering mode. The latter allows formatted documents to be passed to other command-line utilities through standard output. Users can also monitor documents being modified in an external editor, with filesystem notifications triggering automatic updates to the displayed content.

This is free and open source software.

Key Features

  • Render headings, tables, lists, blockquotes, emphasis and strikethrough text.
  • Syntax highlighting of source code blocks using syntect.
  • Interactive task list checkboxes.
  • Keyboard and mouse navigation.
  • Document search with regular expression support.
  • Interactive table of contents and fuzzy heading search.
  • Jump between document sections.
  • Navigate local document links with browsing history.
  • Clickable hyperlinks using OSC 8 escape sequences.
  • Inline image rendering using compatible terminal graphics protocols, with a Unicode half-block fallback.
  • Render Mermaid flowcharts using box-drawing characters.
  • Convert LaTeX mathematical expressions into Unicode notation.
  • Copy document sections, lists, code blocks or entire documents to the clipboard.
  • Presentation mode using Markdown horizontal rules as slide separators.
  • Open multiple documents and switch between them.
  • Export documents as self-contained HTML with embedded styles.
  • Structured JSON viewer with syntax colouring.
  • Light and dark colour themes.
  • Optional line numbers in code blocks.
  • Responsive word wrapping when the terminal is resized.
  • Persistent preferences through a TOML configuration file.
  • Read documents from standard input.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/bahdotsh/mdterm
Support:
Developer: Gokul
License: MIT License

mdterm in action

mdterm is written in Rust. Learn Rust with our recommended free books and free tutorials.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted