Skip to main content

A simple markdown server.

Project description

Markdown-server is a simple web application. It converts markdown file to HTML and response by text/html.

How to use

Runtime Environment


Library Dependencies

See requirements.txt.

Just try

Start server

You don’t need any special preparation to try to start server. Just execute below commands.

$ git clone
$ cd markdown-server
$ virtualenv .venv
$ source .venv/bin/activate
(.venv)$ pip install -r requirements.txt
(.venv)$ markdownserver
    Bottle v0.12.8 server starting up (using WSGIRefServer())...
    Listening on http://localhost:8009/

Or, you can install from PyPi.

(.venv)$ pip install markdown-server
(.venv)$ markdownserver
    Bottle v0.12.8 server starting up (using WSGIRefServer())...
    Listening on http://localhost:8009/

If server start up successfully, browse below URL and check the converted result.

$ open http://localhost:8009/

Only Conversion

Additionally, You can use the conversion function alone.

(.venv)$ convert source_md_file target_html_file

Do as you like

  • Markdown server purvey http://host/[file_name] URL. This corresponds to resources/markdown/[file_name].You can put any markdown file here.

  • Converted file will be placed to resources/html directory. Generated html file includes CSS so it’s ease to distribute.

  • Environment variables like host name or port number are set in Edit arbitrarily.

    ms_port        = '8009'
    ms_host        = 'localhost'
  • The default markdown engine is Github flavored Markdown. If you want to use another style, add CSS and edit

    css_name       = 'github.css'
    markdown_type  = 'gfm'

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for markdown-server, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size markdown_server-0.1.4-py3-none-any.whl (16.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size markdown-server-0.1.4.tar.gz (10.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page