Hi Stefan, The code for Markdown parsing and extensions activation is in Doxia Markdown module: https://maven.apache.org/doxia/doxia/doxia-modules/doxia-module-markdown/xref/org/apache/maven/doxia/module/markdown/MarkdownParser.html#L133
I don't really reviewed how extensions are really activated, but having now a quick look at this admonition one, I see that flexmark-java explains some prerequisites that have not been integrated in Doxia: https://github.com/vsch/flexmark-java/wiki/Extensions#admonition Then I suppose from the code that: 1. adding admonition markup will create some html 2. but the rendering will not be ok because prerequisites have not been integrated 3. and I fear that the issue will be more complex than these prerequisites Then it's a full topic to investigate, create samples to test, look at current result, then debug ot see what improvements are necessary I personnally don't have time to work on this, but if a group start working on this topic, I'd be happy to help Regards, Hervé Le vendredi 3 avril 2020, 16:31:49 CEST Stephan Wissel a écrit : > Hi there, > > We are using Markdown in our Maven generated site > <http://maven.apache.org/plugins/maven-site-plugin/index.html>. Works like > a charm. AFAIK the plugin uses Flexmark > <https://github.com/vsch/flexmark-java> under the hood, which supports > the Admonition > extensions > <https://squidfunk.github.io/mkdocs-material/extensions/admonition/>. > > We would like to use them too, the infoboxes are quite helpful for > documentation. Our site configuration in the pom.xml looks like this: > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-site-plugin</artifactId> > <version>3.8.2</version></plugin> > > How could we configure it to recognise the additional markdown? > > Also can be found here: > https://stackoverflow.com/questions/61001709/maven-site-generation-using-adv > anced-markdown > > Create a nice day! > Stephan H. Wissel > > Phone: +65 96673269 > Blog <https://www.wissel.net/blog> Twitter <http://twitter.com/notessensei> > LinkedIn <http://sg.linkedin.com/in/notessensei> Xing > <https://www.xing.com/profile/StephanH_Wissel> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
