Versatile Command-Line Document Converter
tdoc is a command-line utility designed for efficiently reading, rendering, and converting various text document formats including Markdown, HTML, Gemini, and FTML. This single binary tool can be pointed at a file, URL, or standard input to render content as richly styled terminal output with an integrated pager. Its versatility allows users to easily convert documents from one format to another while maintaining a structured in-memory document tree for all supported formats.
Additionally, tdoc features a convenient --watch mode that monitors input files for changes, automatically re-rendering or regenerating output as needed. This makes it an excellent choice for users who need a reliable tool for document conversions and rendering in a terminal environment. With support for multiple formats, tdoc stands out as a powerful utility for developers and technical writers alike.





