The following table gives an overview of the markup languages currently supported by Doxia:
The source directory is the directory under which Maven expects source documents in this format (e.g. src/site/apt/ for Apt), the file extension is the default file extension, and the parser id is gives the unique identifier that is used by plexus to lookup the corresponding component.
| Format | Short description | Parser (input) |
Sink (output) |
Source Directory | File Extension | Doxia Module | Parser Id |
|---|---|---|---|---|---|---|---|
| Apt | Almost Plain Text | apt | apt | doxia-module-apt | apt | ||
| Confluence | Confluence Enterprise Wiki | confluence | confluence | doxia-module-confluence | confluence | ||
| Simplified DocBook | Simplified DocBook XML Standard | docbook | xml | doxia-module-docbook-simple | doc-book | ||
| FML | FAQ Markup Language | fml | fml | doxia-module-fml | fml | ||
| iText | iText PDF Library | doxia-module-itext | |||||
| FO* | XSL formatting objects (XSL-FO) | doxia-module-fo | |||||
| LaTeX | LaTeX typesetting system | doxia-module-latex | |||||
| Markdown** | Markdown markup language | markdown | md | doxia-module-markdown | markdown | ||
| RTF | Microsoft Rich Text Format | doxia-module-rtf | |||||
| TWiki* | TWiki Structured Wiki | twiki | twiki | doxia-module-twiki | twiki | ||
| Xdoc | XML Documentation Format | xdoc | xml | doxia-module-xdoc | xdoc | ||
| XHTML | Extensible Hypertext Markup Language | xhtml | xhtml | doxia-module-xhtml | xhtml |
Note some modules are not included per default with the site plugin.
Have a look at the available modules here: http://repo.maven.apache.org/maven2/org/apache/maven/doxia/.
If you need to add module for the maven site plugin simply add it as a dependency of the plugin
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.2</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-markdown</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
</plugin>
* Since Doxia 1.1
** Since Doxia 1.3