Sign inSign up

sgaunet/mdtohtml

By sgaunet

•Updated about 2 years ago

Image
0

1.7K

sgaunet/mdtohtml repository overview

⁠Markdown to HTML cmd-line tool

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.

⁠Forked project

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

⁠Docker Image

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
...

Source code is here⁠

Tag summary

Content type

Image

Digest

sha256:744562abb…

Size

4.5 MB

Last updated

about 2 years ago

docker pull sgaunet/mdtohtml