Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Just playing with an idea....
How easy/difficult would it be to create a custom backend for Asciidoctor to generate Wiki format output ? Where should I start ? Is Ruby knowledge required ? Would it make sense ? In my case, yes, several documentations are stored on wiki servers (Pmwiki or Xwiki). Jmm |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Comments inline.
On Thu, Nov 28, 2013 at 2:54, Jmm [via Asciidoctor :: Discussion] <
Wouldn't be that difficult at all.
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).
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.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Ok. Now you made me curious. I'll put that on my exploration list. You'll probably hear it when I'll start that journey. Jmm Not sent from my PC Le 28 nov. 2013 16:47, "LightGuardjp [via Asciidoctor :: Discussion]" <[hidden email]> a écrit :
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
In reply to this post by Jmm
Hi Jmm,
I'm Vincent from the XWiki project. I'm also interested in including Asciidoc as a supported syntax for XWiki Rendering (http://rendering.xwiki.org). So far asciidoctor didn't provide an event mechanism that would allow use to convert its event to the XWiki event system. However I got this tweet from Dan Allen a while back: https://twitter.com/mojavelinux/status/376809428650971136 And now that 0.1.4 is out maybe it's doable. If you're interested in helping out, please join us on the xwiki devs mailing list/forum where we could discuss this further: http://dev.xwiki.org/xwiki/bin/view/Community/MailingLists Thanks! -Vincent |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hello Vincent,
I understand what you want to do and it would be very interesting indeed. What I had in mind (especially as we have several wiki flavor around here) was to generate the different outputs (PDF, html, *wiki from a single Asciidoc source in a Maven build pipeline. The user could then select the Wiki output and paste it in the edit window of the wiki. Uploading from Maven would be even better. But if I understand it well, both approaches need a *wiki back-end. If I can help (others program better and faster then me) I'd be very happy. I plan to look into this during my Christmas holidays. Jean-Marc (Jmm) |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hi Jmm,
XWiki Rendering can be used without any wiki backend! See http://rendering.xwiki.org It'd be cool if we could work together on this. The best would be if you could join the XWiki dev mailing list/forum (see http://dev.xwiki.org/xwiki/bin/view/Community/MailingLists). I'm planning to commit this week end some skeleton classes to get the work started. However I've just hit the issue described at http://discuss.asciidoctor.org/Events-in-the-Java-integration-tc1190.html Thanks -Vincent |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
FTR here's the issue on the XWiki side: http://jira.xwiki.org/browse/XRENDERING-323
And I've pushed a branch: https://github.com/xwiki/xwiki-rendering/tree/syntax-asciidoc/xwiki-rendering-syntaxes/xwiki-rendering-syntax-asciidoc Thanks -Vincent |
Free forum by Nabble | Edit this page |