Skip to content

sgaunet/mdtohtml

Repository files navigation

Go Report Card GitHub release Go Report Card GitHub Downloads

Markdown to HTML cmd-line tool

Tool to convert markdown file to html with a css like github.

Forked project

I clean some code, remove some options and add the github-markdown CSS

You can use the README ini tst folder to test the app.

mdtohtml README.md README.html

Docker Image

There is a docker image to integrate the binary into your own docker image for example.

For example, the Dockerfile should look like :

FROM sgaunet/mdtohtml:0.3.1 AS mdtohtml

FROM <BASE-IMAGE:VERSION>
...
COPY --from=mdtohtml /usr/bin/mdtohtml /usr/bin/mdtohtml
...

Install

With homebrew

brew tap sgaunet/tools
brew install mdtohtml

Download release

And copy it to /usr/local/bin