Skip to content

miltador/shimgo-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shimgo-ruby

Ruby backend for a shimgo

About

Provides a simple API written in sinatra for converting asciidoctor into HTML.

API

  • 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

Thanks

  • @tychoish for providing his initial Python API that was replicated by me in Ruby

Releases

No releases published

Packages

No packages published

Languages