Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pedrotroller/http-markup

HTTP interface for Github Markup
https://github.com/pedrotroller/http-markup

Last synced: 21 days ago
JSON representation

HTTP interface for Github Markup

Awesome Lists containing this project

README

        

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](https://github.com/github/markup#markups).

Example
=======

For example, the request

```txt
POST http://localhost/

Content-Type=text/markdown

#The title#

#The subtitle#
```

will return

```html

The title

The subtitle


```