Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andremaha/md2html
CLI utility to convert markdown files into the most beautiful HTML you have ever seen. Written in Rust.
https://github.com/andremaha/md2html
Last synced: about 2 months ago
JSON representation
CLI utility to convert markdown files into the most beautiful HTML you have ever seen. Written in Rust.
- Host: GitHub
- URL: https://github.com/andremaha/md2html
- Owner: andremaha
- Created: 2020-10-12T16:08:48.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-14T14:11:11.000Z (almost 4 years ago)
- Last Synced: 2024-07-06T11:23:06.366Z (3 months ago)
- Language: Rust
- Size: 547 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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)