Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-5573

Language type for listings in automatic topic creation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 2.0.0.Beta2
    • 2.0.0.Beta1
    • documentation
    • None

      Bug report

      The AsciiDoc source contains: 

       

      [source,options="nowrap",shell]
      ----
      topic.creation.enable = true
      ----

       

      This tries to make the source block below highlighted as the "shell" language. 

      AsciiDoc supports both named and positional attributes, and "shell" is a positional attribute as it doesn't have the prefix "language=". 

      The language positional attribute would need to be at the second position there the options are located. 

      Due to this, there is no syntax highlighting, and the value is instead used for the positional "linenum" attribute that is located in the third place. 

      To resolve this, the two options need to be switched (like it is in all other places).

      I'll prepare a PR for this.

            Unassigned Unassigned
            aschwart@redhat.com Alexander Schwartz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: