By Friedjof Noweck
This is a simple markdown server. It is a simple web server that serves markdown files as html. It is written in Python and uses the Flask framework.
- Place a markdown file in the
articles
directory with the extension.md
. - Run the server with
python app.py
. - Navigate to
http://localhost:5000/articles/<filename>
to view the article.
- Install Python 3.6 or higher.
- Install the requirements with
pip install -r requirements.txt
.
- Build the image with
docker build -t markdown-webserver .
. - Run the container with
docker run -p 5000:5000 markdown-webserver
.
Be free to open an issue on GitHub if you have any questions or problems.