0

I am trying to use insertions in my documentation using Grails 2.4.4. According to the Textile syntax this should be

+Text with insertion+

The output of the Grails Documentation Engine is +Text with insertion+.

Can anyone tell me whats the syntax of insertions?

saw303
  • 8,051
  • 7
  • 50
  • 90

1 Answers1

0

That's not supported. Note that Grails doc files use a markup that's inspired by Textile, but is not textile; it's described in the docs as "a variation on the Textile syntax"

Burt Beckwith
  • 75,342
  • 5
  • 143
  • 156
  • Thank you Burt. Would it be possible to extend this functionality? I'd love to provide a pull request but need some coordinates of the Grails module that implements the doc engine. Can you give me a hint? – saw303 Oct 31 '14 at 06:19
  • Is it this? https://github.com/grails/grails-core/blob/master/grails-docs/src/main/groovy/grails/doc/DocEngine.groovy – saw303 Oct 31 '14 at 06:39
  • Yep, that's it - is uses the now defunct "radeox" library. Before you do much work extending this, send an email to the dev forum (https://groups.google.com/forum/#!forum/grails-dev-discuss) about future plans. Asciidoc is generating a lot of buzz lately and it seems like a great option for Grails 3.0, so perhaps working on a plugin for 2.x that could become the standard doc engine for 3.0 would be a better way forward. – Burt Beckwith Oct 31 '14 at 08:52