Quantcast

Passing data- html attributes to a code block

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Passing data- html attributes to a code block

viebel
I am looking for the proper way to pass data- html attributes.

 For example, how would I produce an html attribute like "data-remove-comments='true'" on a code block?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Passing data- html attributes to a code block

viebel
Who can help with this question?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Passing data- html attributes to a code block

mojavelinux
Administrator
Right now you have to customize the converter (either by making a custom converter or using custom templates).

There's an open issue to add support for data- attributes in core.


Cheers,

-Dan

On Wed, May 3, 2017 at 1:01 AM, viebel [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Who can help with this question?


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Passing-data-html-attributes-to-a-code-block-tp5414p5561.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
Loading...