Closed ConcurrentState closed 2 years ago
This is with version kramdoc 2.1.0
The source style on the block is optional if the language is specified. (See https://docs.asciidoctor.org/asciidoc/latest/verbatim/source-blocks/). Therefore, the behavior of kramdown-asciidoc is correct. Perhaps you are using an old version of Asciidoctor. Please verify that you are using Asciidoctor 2 or better.
Rouge, Pygments, and CodeRay do not recognize the language tag C++
. It must be written as c++
instead (lowercase). I would consider enhancing kramdown-asciidoc to convert the language to lowercase. That would solve the language mapping issue.
Hello, I'm new to asciidoctor and love it. Here is a question (or problem):
If in markdown, there is
[,C++]
int i_func(int i) { return i; }
[source,C++]
int i_func(int i) { return i; }