#markdown #ratatui #tui #terminal #cli

app markdown-reader

A simple markdown reader that uses ratatui to render markdown files

8 releases

new 0.1.7 Apr 24, 2024
0.1.6 Mar 12, 2024
0.1.4 Feb 27, 2024

#773 in Command-line interface

Download history 237/week @ 2024-02-21 291/week @ 2024-02-28 97/week @ 2024-03-06 145/week @ 2024-03-13 2/week @ 2024-03-20 18/week @ 2024-03-27 34/week @ 2024-04-03

55 downloads per month

MIT/Apache

35KB
669 lines

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.

Made with VHS

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

~15–25MB
~325K SLoC