kwin commented on code in PR #619:
URL:
https://github.com/apache/maven-doxia-sitetools/pull/619#discussion_r2811881544
##########
doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/sink/SiteRendererSink.java:
##########
@@ -130,6 +137,74 @@ public void date_() {
resetTextBuffer();
}
+ @Override
+ public void verbatim(SinkEventAttributes attributes) {
+ if (mermaidConfig != null &&
normalizeClassAttributesForMermaid(attributes)) {
+ containsMermaidDiagram = true;
+ }
+ super.verbatim(attributes);
Review Comment:
This requires removing the subsequent `code` element, otherwise line
numbers/code highlighting being potentially added by skins make Mermaid
rendering defunct.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]