Skip to content

PedroTroller/http-markup

Repository files navigation

Installation

$ docker run -d -p {port}:80 pedrotroller/http-markup

Usage

There is only one end point to this api matching on POST /

You just have to post your markdown inside the body of your request and to add to set the Content-Type. For the moment, only text/markdown is supported.

Supported formats

This application supports all formats suported by Github markup.

Example

For example, the request

POST http://localhost/

Content-Type=text/markdown

#The title#

#The subtitle#

will return

<h1>The title</h1>

<h1>The subtitle</h1>