adding a new filter to asciidoctor-maven-plugin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
mac
Reply | Threaded
Open this post in threaded view
|

adding a new filter to asciidoctor-maven-plugin

mac
Hi,

Is it possible to install/extend asciidoctor-maven-plugin with a new filter e.g.: https://code.google.com/p/asciidoc-plantuml ?

Thanks
m
Reply | Threaded
Open this post in threaded view
|

Re: adding a new filter to asciidoctor-maven-plugin

LightGuardjp
Something that should be doable in the next version. We don't have any support for it in 0.1.4

Sent from Mailbox


On Thu, May 15, 2014 at 4:42 PM, mac [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Hi,

Is it possible to install/extend asciidoctor-maven-plugin with a new filter e.g.: https://code.google.com/p/asciidoc-plantuml ?

Thanks
m


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

mac
Reply | Threaded
Open this post in threaded view
|

Re: adding a new filter to asciidoctor-maven-plugin

mac
I was able to create maven project that generates documentation in three steps:
1. process all .txt files in order to produce .png diagrams based on planuml notation
2. process .as files that refer to .png create in #1
3. produces docbook based documentation

However this is not exactly what I want. I want to have uml diagrams "inline", not in a separate .txt files nor .png

it would be really nice to have this integrated :)

--
Thanks
m
Reply | Threaded
Open this post in threaded view
|

Re: adding a new filter to asciidoctor-maven-plugin

mojavelinux
Administrator
Integrating these extension points will be possible once AsciidoctorJ 1.5.0 is released. Adding a plugin will just be a matter of adding the extension JAR (such as asciidoctorj-diagram) to the classpath. Asciidoctor won't support filters for AsciiDoc Python. Instead, you need to use the extensions that are built for Asciidoctor and tested with AsciidoctorJ.

Alex has several examples of writing extensions for use with AsciidoctorJ. In fact, it should be possible to take one of these extensions and test using it with the Maven plugin today (he may already do this). See the following repo for a collection of extensions that work with AsciidoctorJ.


You can read about how to use one such extension on Alex's blog.


I'm not sure if Asciidoctor Diagram (which provides the plantuml integration) has been tested with AsciidoctorJ yet, but in theory it should work. Anyone got a sample project workking?

Cheers,

-Dan


On Tue, May 20, 2014 at 3:17 PM, mac [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I was able to create maven project that generates documentation in three steps:
1. process all .txt files in order to produce .png diagrams based on planuml notation
2. process .as files that refer to .png create in #1
3. produces docbook based documentation

However this is not exactly what I want. I want to have uml diagrams "inline", not in a separate .txt files nor .png

it would be really nice to have this integrated :)

--
Thanks
m


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



--