Fintan Bolton created CAMEL-12422:

             Summary: Wrong language syntax declarations for code samples in 
                 Key: CAMEL-12422
             Project: Camel
          Issue Type: Bug
          Components: documentation
    Affects Versions: 2.21.1
            Reporter: Fintan Bolton

AsciiDoc has the ability to support syntax highlighting, which can be enabled 
by putting the following line before a code sample (e.g. for Java code):

However, there are some places in the documentation where this declaration is 
used, but the code sample that follows is _not_ Java. This can cause incorrect 
syntax highlighting or (more seriously) can sometimes cause a documentation 
build to crash. The following doc files are affected:
* {{csv-dataformat.adoc}}
* {{mime-multipart-dataformat.adoc}}
* {{mongodb-gridfs-component.adoc}}
* {{snmp-component.adoc}}

I plan to submit a PR to fix these files.

This message was sent by Atlassian JIRA

Reply via email to