michael-o commented on code in PR #223:
URL: https://github.com/apache/maven-doxia/pull/223#discussion_r1721004768


##########
doxia-modules/doxia-module-markdown/src/main/java/org/apache/maven/doxia/module/markdown/MarkdownParser.java:
##########
@@ -149,6 +149,7 @@ public class MarkdownParser extends AbstractTextParser 
implements TextMarkup {
         flexmarkOptions.set(HtmlRenderer.HTML_BLOCK_OPEN_TAG_EOL, false);
         flexmarkOptions.set(HtmlRenderer.HTML_BLOCK_CLOSE_TAG_EOL, false);
         flexmarkOptions.set(HtmlRenderer.MAX_TRAILING_BLANK_LINES, -1);
+        flexmarkOptions.set(HtmlRenderer.FENCED_CODE_NO_LANGUAGE_CLASS, 
"nohighlight nocode");

Review Comment:
   > I don't see this considered in Fluido: 
https://github.com/search?q=repo%3Aapache%2Fmaven-fluido-skin+nohighlight&type=code
 or 
https://github.com/search?q=repo%3Aapache%2Fmaven-fluido-skin+nocode&type=code 
either...
   
   I don't that this is necessary, it does not have to know about the semantics 
of the language beneath. The Markdown parser will tell whether the fenced block 
is plaintext or a specific language.



-- 
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]

Reply via email to