#markdown #tui #ratatui #cli #terminal

app markdown-reader

A simple markdown reader that uses ratatui to render markdown files

20 releases

0.1.19 Oct 22, 2024
0.1.17 Sep 20, 2024
0.1.12 Jul 15, 2024
0.1.6 Mar 12, 2024

#1048 in Command-line interface

Download history 180/week @ 2024-07-29 16/week @ 2024-08-05 2/week @ 2024-08-12 155/week @ 2024-09-02 466/week @ 2024-09-16 81/week @ 2024-09-23 30/week @ 2024-09-30 13/week @ 2024-10-07 198/week @ 2024-10-14 188/week @ 2024-10-21 3/week @ 2024-10-28 6/week @ 2024-11-04

400 downloads per month

MIT/Apache

51KB
1K SLoC

Markdown Reader

Crate badge Deps.rs Badge License Badge Codecov.io Badge Discord Badge

GitHub Repository · Changelog · Contributing

An experimental Proof of Concept markdown reader that uses Ratatui to render markdown files. The primary purpose of this crate is to test the tui-markdown crate. It is not ready for any sort of real world use.

Demo

Installation

To install the markdown reader application (mdr):

cargo install --locked markdown-reader

Usage

mdr --help

A simple markdown reader that uses ratatui to render markdown files.

Usage: mdr [PATH]

Arguments:
  [PATH]  The path to the markdown file to read [default: README.md]

Options:
  -h, --help     Print help
  -V, --version  Print version

Status

Initial implementation - this is very much WIP (see lib.rs todo!()s)

  • Headings
  • Heading attributes / classes / anchors
  • Normal paragraphs
  • Block quotes
  • Nested block quotes
  • Bold (strong)
  • Italic (emphasis)
  • Strikethrough
  • Ordered lists
  • Unordered lists
  • Code blocks
  • Html
  • Footnotes
  • Tables
  • Linebreak handling
  • Rule
  • Tasklists
  • Links
  • Images
  • Metadata blocks

License

Copyright (c) 2024 Josh McKinney

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md.

Dependencies

~17–29MB
~441K SLoC