asciidoctor / atom-language-asciidoc

⚛ AsciiDoc language package for the Atom editor.
https://atom.io/packages/language-asciidoc
MIT License
42 stars 20 forks source link

Allow additional attributes to be defined on source block #93

Closed mojavelinux closed 8 years ago

mojavelinux commented 8 years ago

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:

[source,ruby,subs=attributes+]
----
source 'https://rubygems.org'
gem 'asciidoctor', '{latest-release}'
----

Another example is enabling line numbers:

[source,ruby,linenums]
----
puts "Hello, World!"
----
mojavelinux commented 8 years ago

:+1:

mojavelinux commented 8 years ago

Should this be milestone v1.2.0?