Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-763

MarkdownSink: Distinguish between verbatim with source attribute and without

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • Module - Markdown
    • None

    Description

      Currently both lead to fenced code blocks without info string however the MarkdownParser emits fenced code blocks without info string with the special classes nocode nohighlight (https://github.com/apache/maven-doxia/blob/c36b51695bdf4fe6f515d7e3fcdcec264867d990/doxia-modules/doxia-module-markdown/src/main/java/org/apache/maven/doxia/module/markdown/MarkdownParser.java#L152) which basically makes it just a verbatim block. In order to emit without those classes one has to provide an info string (usually the programming language of the following block). As the language is not provided in Sink API one should instead rely on a hardcoded info string unknown.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: