Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/pedrotroller/http-markup
- Owner: PedroTroller
- Created: 2017-02-08T15:19:40.000Z (almost 8 years ago)
- Default Branch: beta
- Last Pushed: 2023-05-02T15:57:04.000Z (over 1 year ago)
- Last Synced: 2024-10-31T02:04:25.281Z (2 months ago)
- Language: PHP
- Size: 461 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
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
```