Re: Listing blocks default to source - Is this possible? Rathern than adding [source].

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Listing blocks default to source - Is this possible? Rathern than adding [source].

mojavelinux
Administrator
I agree that having to add the source style to listing blocks is tedious. However, we have to work around a compatibility issue if we want to change the behavior. There's an open issue in which we've been discussing ideas.


On Thu, Feb 1, 2018 at 2:08 PM, asciidocuser48 [via Asciidoctor :: Discussion] <[hidden email]> wrote:
With asciidoc, all my listing blocks are source blocks.  Therefore there is no [source] for each listing block, but rather one attribute set, :blockdef-listing.style: source.  

Is this possible in Asciidoctor or do I have to modify every source block to include a [source]?




If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Listing-blocks-default-to-source-tp6136p6160.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux