PedroTroller / http-markup

HTTP interface for Github Markup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>

About

HTTP interface for Github Markup


Languages

Language:PHP 55.7%Language:Gherkin 32.4%Language:Dockerfile 9.9%Language:Ruby 2.0%