Sign inSign up

datafolklabs/markdown

By datafolklabs

•Updated over 9 years ago

Python Markdown via Docker

Image
0

8.2K

datafolklabs/markdown repository overview

This is a simple Docker implementation of the Python Markdown⁠ library/utility. It's purpose is to make it easy to generate HTML from Markdown⁠ files via Docker.

⁠Source

Source available on GitHub⁠.

⁠Usage

$ docker run -it -v /path/to/data:/data datafolklabs/markdown the_file_name.md

⁠Example

From the git repo...

$ docker-compose run -it -v `pwd`:/data datafolklabs/markdown example/test.md
<h1>Header 1</h1>
<h2>Header 2</h2>
<p>Testing: </p>
<ol>
<li><em>One</em></li>
<li><strong>Two</strong></li>
<li><code>Three</code> </li>
</ol>

⁠Extensions

Includes the pymdown-extensions⁠:

$ docker-compose run -it -v `pwd`:/data \
    datafolklabs/markdown -x pymdownx.github example/test.md

⁠Future?

If this thing gets any interest, I'll be happy to take it to the next level of development and implement any feature request that come in.

Tag summary

Content type

Image

Digest

Size

29.9 MB

Last updated

over 9 years ago

docker pull datafolklabs/markdown