{"repo":"ff6347/to-markdown-cli","free":true,"listed":false,"github":"https://github.com/ff6347/to-markdown-cli","clone":"git clone https://github.com/ff6347/to-markdown-cli.git","description":"a command line tool for turning html to markdown","language":"TypeScript","stars":33,"topics":["markdown","cli","html","converter"],"license":"MIT","category":"cli-tools","readme_excerpt":"to-markdown-cli Installation npm install -g to-markdown-cli Usage Troubleshooting The following error indicates that $DISPLAY is not set to a valid display: Error: Both xsel and fallback failed html2md relies on a valid $DISPLAY because it uses clipboard via xsel . In some environments (for example, tmux ) you may need to run the command as follows: Fully headless systems may not be able to use html2md . Contributors Thanks goes to these wonderful people (emoji key): roose 💻 Fabian Morón Zirfas 💻 cayhorstmann 🐛 akomakom 📖 🐛 thenbe 🤔 This project follows the all-contributors specification. Contributions of any kind welcome! Test Acknowledgements Build on these great modules: - domchristie/turndown: An HTML to Markdown converter written in JavaScript - sindresorhus/clipboardy: Access the system clipboard (copy/paste) - tj/commander.js: node.js command-line interfaces made easy Related Projects - suntong/html2md: HTML to Markdown converter https://github.com/suntong/html2md - JohannesKaufmann/html-to-markdown: ⚙️ Convert HTML to Markdown. Even works with entire websites and can be extended through rules. https://github.com/JohannesKaufmann/html-to-markdown - thebigbone/markhtml: a fast CLI tool for converting markdown to html https://github.com/thebigbone/markhtml - letmutex/htmd: A turndown.js inspired HTML to Markdown converter for Rust https://github.com/letmutex/htmd - romansky/dom-to-semantic-markdown: DOM to Semantic-Markdown for use in LLMs https://github.com/romans","default_branch":null,"files":null,"tree":[],"storefront":"/r/ff6347","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ff6347/to-markdown-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}