Installation
Prerequisites
Section titled “Prerequisites”mdt is written in Rust. To install it, you need the Rust toolchain (Cargo and rustc). If you don’t have it yet, install it from rustup.rs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shInstall from crates.io
Section titled “Install from crates.io”The easiest way to install mdt is from crates.io:
cargo install mdtuiThis downloads, compiles, and installs the mdt binary into your Cargo bin directory (typically ~/.cargo/bin/).
Build from source
Section titled “Build from source”Clone the repository and build in release mode:
git clone https://github.com/pimalaya/markdown-tui.gitcd markdown-tuicargo build --releaseThe compiled binary will be at target/release/mdt. You can copy it to a directory on your PATH:
cp target/release/mdt ~/.local/bin/Verify installation
Section titled “Verify installation”Confirm mdt is installed and accessible:
mdt --helpYou should see usage information and available flags. To get started, run mdt in any directory containing markdown files:
mdt