Login  Register

Re: Custom backend - how easy ?

Posted by LightGuardjp on Nov 28, 2013; 3:44pm
URL: https://discuss.asciidoctor.org/Custom-backend-how-easy-tp1151p1152.html

Comments inline. 

On Thu, Nov 28, 2013 at 2:54, Jmm [via Asciidoctor :: Discussion] <[hidden email]="mailto:[hidden email]">> wrote:

Just playing with an idea....

How easy/difficult would it be to create a custom backend for Asciidoctor to generate Wiki format output ? 

​Wouldn't be that difficult at all. 


Where should I start ? Is Ruby knowledge required ? 

​Not necessarily, but you do need some knowledge about a temp laying language (erb, haml, slim, etc). Take a look at the asciidoctor-backends project. You need a file for each element in the abstract syntax tree (ast). 


Would it make sense ? In my case, yes, several documentations are stored on wiki servers (Pmwiki or Xwiki). 

​In my mind, yes it would make perfect sense. We also need to be able to go the other way too so conversion of your documents is easy. 


Jmm


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Custom-backend-how-easy-tp1151.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML