Rendering lightweight markup languages with maven

1.3k views Asked by At

I would like to render project documentation in html from a lighweight markup language like markdown or textile. What's easiest way to do this?

2

There are 2 answers

0
Ralph On BEST ANSWER

The maven site plugin is able to render the APT format ("Almost Plain Text") to build html for the project (documentation) site.

@See:

http://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html

http://maven.apache.org/doxia/references/apt-format.html

0
Andrey Taranov On

You can also use other lightweight markup languages with the maven-site-plugin. This is done through doxia (maven's content generation framework). There is a doxia module for markdown, for example:

http://code.google.com/p/doxia-module-markdown/wiki/Usage