Administrator
|
By default, Asciidoctor recognizes the most ubiquitous line comment characters. If the language you're embedding does not support one of these line comment characters, you can tune the line comment character using the line-comment attribute on the block.
In your case, you would set the value of this attribute to %.
[source,erlang,line-comment=%]
----
-module(testing). % <1>
----
I noticed this detail is missing in the docs, so I will add it.
Best Regards,
-Dan
|