Ruby backend for a shimgo
Provides a simple API written in sinatra
for converting asciidoctor
into HTML.
-
GET / - status information
-
GET /support/:format - returns 'supported\n' if format is supported
Supported formats:
-
asciidoctor
-
-
POST /asciidoctor - expects the body to be a
asciidoctor
content to be converted into HTML. Returns JSON object with the following properties:-
info - empty if no errors, else - string with errors
-
content - converted output
-