If you have Go installed, install with:
go get -u github.com/sgaunet/mdtohtml
To run:
mdtohtml [options] inputfile [outputfile]
Run mdtohtml to see all options.
This is also an example of how to use gomarkdown/markdown library.
I clean some code, remove some options and add the github-markdown CSS
You can use this README to test the app.
mdtohtml README.md README.html
Now 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
...
Content type
Image
Digest
sha256:744562abb…
Size
4.5 MB
Last updated
about 2 years ago
docker pull sgaunet/mdtohtml