asciidoctor / asciidoctor-backends

Backends (i.e., templates) for Asciidoctor, a Ruby port of AsciiDoc.
http://asciidoctor.org
Other
65 stars 73 forks source link

New backend for Remark #85

Open tduchateau opened 9 years ago

tduchateau commented 9 years ago

A new backend for https://github.com/gnab/remark would be awesome.

Is there any contribution guide for backends? If might be fun to try to contribute in some way. :-)

/cc @gnab

gnab commented 9 years ago

What exactly do you mean by a new "backend"?

gnab commented 9 years ago

My bad, I thought this was a remark issue :)

lordofthejars commented 9 years ago

Well there is no documentation, but you can follow any previous developed backend. In fact you only need to create a haml or slim files. If you look closely you will see that the name of the file is used as element detector. For example if file is named document then this file will be called when a new document is found, if it is called block, then the template will be used for every block found.

I think that using haml or slim is pretty intuitive,

If you have any question don't hesitate to ask it.

Alex

2014-10-16 14:27 GMT+02:00 Ole Petter Bang notifications@github.com:

My bad, I thought this was a remark issue :)

— Reply to this email directly or view it on GitHub https://github.com/asciidoctor/asciidoctor-backends/issues/85#issuecomment-59353318 .

+----------------------------------------------------------+ Alex Soto Bueno - Computer Engineer www.lordofthejars.com +----------------------------------------------------------+

tduchateau commented 9 years ago

Thanks Alex. I started working on it using the Slim templates of the revealjs backend. I'll keep you posted in this issue.