{"repo":"roman910dev/ghmd","free":true,"listed":false,"github":"https://github.com/roman910dev/ghmd","clone":"git clone https://github.com/roman910dev/ghmd.git","description":"An extremely light-weight and simple command line tool to convert Markdown files to GitHub-styled HTML.","language":"HTML","stars":14,"topics":["cli","converter","github","github-flavored-markdown","html","markdown"],"license":"MIT","category":"cli-tools","readme_excerpt":"ghmd ghmd (GitHub Markdown) is an extremely light-weight and simple command line tool to convert GitHub Flavored Markdown (or plain Markdown) to HTML. It does so by using the GitHub Markdown API in combination with GitHub Markdown CSS. It has two available implementations: - Python - Node.js The Node.js implementation is browser-compatible. You can use it at: - Browser app Installation or Usage CLI (Node, Python) Simply run ghmd with the path to the markdown file(s) you want to convert. An HTML file will be created in the same directory as the markdown file with the same filename. [!NOTE] If you don't have the ghmd command available after installing, you may need to add the Python or NPM scripts directory to your PATH environment variable. Otherwise you, can use python -m ghmd instead of ghmd . API (Node) The Node implementation exposes an API that can be used as follows. This is not available in the Python implementation. Options GitHub API Token By default, ghmd uses unauthenticated requests to the GitHub API, which has a rate limit of 60 requests per hour. To increase this limit to 5000 requests per hour, you can set the GITHUB TOKEN environment variable with a GitHub personal access token: To create a personal access token, visit your GitHub Settings Developer Settings Personal access tokens and create a new token (no specific scopes are required). --embed-css By default, ghmd will add the remote CSS as a tag in the HTML file. If you want to embed the CSS directly into th","default_branch":null,"files":null,"tree":[],"storefront":"/r/roman910dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/roman910dev/ghmd/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."}