Closed mojavelinux closed 8 years ago
The source block should allow additional attributes (to follow the keyword "source" and the language name).
The following is a valid source block:
[source,ruby,subs=attributes+] ---- source 'https://rubygems.org' gem 'asciidoctor', '{latest-release}' ----
Another example is enabling line numbers:
[source,ruby,linenums] ---- puts "Hello, World!" ----
:+1:
Should this be milestone v1.2.0?
Description
The source block should allow additional attributes (to follow the keyword "source" and the language name).
Syntax example
The following is a valid source block:
Another example is enabling line numbers: