# md2html CLI utility to convert markdown files into the most beautiful HTML you have ever seen. ## Installation ```bash cargo install md2html ``` ## Usage Generates a file output.html with the default stylesheet and opens it in a browser. ```bash md2html input_file.md ``` Generates a html file `docs/samples/screen.html` from a markdwon file `sample.md` using the style `screen`: ```bash md2html sample.md --css screen -f docs/samples/screen.html ``` ## Available styles * [markdown](https://andremaha.github.io/md2html/samples/markdown.html) * [markdown1](https://andremaha.github.io/md2html/samples/markdown1.html) * [markdown2](https://andremaha.github.io/md2html/samples/markdown2.html) * [markdown3](https://andremaha.github.io/md2html/samples/markdown3.html) * [markdown4](https://andremaha.github.io/md2html/samples/markdown4.html) * [markdown5](https://andremaha.github.io/md2html/samples/markdown5.html) * [markdown6](https://andremaha.github.io/md2html/samples/markdown6.html) * [markdown7](https://andremaha.github.io/md2html/samples/markdown7.html) * [markdown8](https://andremaha.github.io/md2html/samples/markdown8.html) * [markdown9](https://andremaha.github.io/md2html/samples/markdown9.html) * [markdown10](https://andremaha.github.io/md2html/samples/markdown10.html) * [markdown-alt](https://andremaha.github.io/md2html/samples/markdown-alt.html) * [avenir-white](https://andremaha.github.io/md2html/samples/avenir-white.html) * [foghorn](https://andremaha.github.io/md2html/samples/foghorn.html) * [screen](https://andremaha.github.io/md2html/samples/screen.html) * [swiss](https://andremaha.github.io/md2html/samples/swiss.html)