GitHub

AsPandoc
Pandoc as a Service

Pandocを用いてオンライン上のドキュメントを別のドキュメントに変換するサービスです。

利用規定

Generic Options

from
(default: gfm) Pandoc Input Format.
See also pandoc's document.
to
(default: html) Pandoc Output Format.
See also pandoc's document.
stripyaml
(default:false) Remove yaml header in the document when true.

URL

Syntax:
/url?url={URL}

Example:
https://aspd.esora.xyz/url?url=https://github.com/KageShiron/aspandoc/blob/master/www/index.html&from=html&to=gfm

Gist

Syntax:
/gist/{id}

Example:
https://aspd.esora.xyz/gist/b59cdf3289f97567adc62e83419afb96?to=pdf

Esa.io

Convert markdown on esa.io to anothoer format.

Syntax:
/esa/{team}/{documentNumber}?token={access_token}

Example:
https://aspd.esora.xyz/esa/dev/102?token=XXXXXXXXXX&to=mediawiki

Note:

Using GET /v1/teams/:team_name/posts API.
By default, this application use the markdown source in json. However, it use body_html source when you specified from=html param.