Skip to content
/ md2web Public

Lightweight Flask server for rendering Markdown files

License

Notifications You must be signed in to change notification settings

arichr/md2web

Repository files navigation

Markdown to Web

CodeClimate maintainability
Flask server for rendering Markdown files.

Desktop Mobile
Desktop image Mobile image

Features:

  • Light
  • Easy to use
  • No JavaScript required
  • Caches results via flask-caching

Getting started

python server.py
Environment variable Type Description
MD_ROOT Path Absolute or relative path to a root folder
MD_CACHE_TIMEOUT Seconds (Positive integer) Cache expiry timeout. "Disable" cache - 1.

Troubleshooting

Q: My 10th tab is not working correctly.

This application only supports a maximum of 9 tabs. Consider hacking app.css manually.

Q: Code is not highlighted properly.

Unfortunately, this means that this token type is not yet supported. Please note that if you want to contribute to the repository with this change, it is more appropriate to use the existing color palette.

Enabled extensions