pawandubey / griffin

speedy and simplistic static site generator.
Apache License 2.0
27 stars 7 forks source link

Support for asciidoctor #39

Open EdwinFLopez opened 8 years ago

EdwinFLopez commented 8 years ago

Hi all, and thanks for griffin. This is a feature request. Additionally to markdown, it could be great to support asciidoctor as well by using asciidoctorj.

Totally unrelated rant: I don't know if griffin devs are aware of JBake, but combining the two projects would be an awesome result. From griffing: pagination + taxonomies + ease + handlebars, from jbake: asciidoctor + gradle plugin and support for thymeleaf, freemarker, groovy.

Thank you very much

pawandubey commented 8 years ago

I will put asciidoctor on the todo list. I was not planning on supporting multiple input formats because it goes against the principle of simplicity I wanted with Griffin. But since then, I have mellowed down a bit on the issue.

I have heard of JBake. Actually it was after using JBake that I decided to create Griffin. JBake is really good and powerful, but it had a slow parsing process the last time I used it. JBake is great in its own way that it combines multiple technologies and provides flexibility by supporting multiple formats. But that was never the aim of Griffin. That is why I chose Handlebars for simple templating instead of going with the Java templating libraries you mentioned after evaluating them extensively.

Griffin is right now a one-person project :smiley:

EdwinFLopez commented 8 years ago

Thanks for your answer and your effort. This project it's really awesome. My motivation to request for asciidoctor is based on the great tooling existent, for instance, diagramming (uml, process, etc) and it's syntax is, in my opinion, a bit more consistent than markdown's. Nonetheless, simplicity is always a good policy. I also believe that less is more. :-)