Hi,
I try to figure out what is the best strategy with Asciidoctor 0.1.4 to generate this HTML content from asciidoctor <input type="checkbox" id="showhideblock"/> <label id="showhide" for="showhideblock"></label> <div class="acontent">As mentioned earlier, the stdout and stderr are tracked for logging purposes. Users can access current and archived App logs created in each App environment. </div> Remark : This HTML syntax is used with CSS to show/hide text - http://stackoverflow.com/questions/19170781/show-hide-divs-on-click-in-html-and-css-without-jquery Add a new slim backend to process input & label vs create an extension vs something else ? I don't really see also how I could specify with asciidoctor syntax to declare an empty label & checkbox ... Regards, Charles
Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist Twitter : @cmoulliard |
Why are you trying to do this with Asciidoctor 0.1.4? If it's just HTML you're looking for you may need to use a passthru block. On Tue, Jul 7, 2015 at 3:07 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote: Hi, -- |
I can't use passthrough as the content is created by the user using plain asciidoctor syntax. I will perhaps create a new block type On Tue, Jul 7, 2015 at 6:03 PM, LightGuardjp [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io
Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist Twitter : @cmoulliard |
Administrator
|
Something similar to this already exists in Asciidoctor extensions. In fact, two places, both of which key off a role. First, the view result postprocessor by Rob Winch: The other is the click block that's in Asciidoctor LaTeX created by Jim Carlsson. Hopefully, that gives you a start. I strongly believe that you can accomplish this using a role. Cheers, -Dan On Tue, Jul 7, 2015 at 11:40 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Dan Allen | http://google.com/profiles/dan.j.allen |
Many thanks. I will have a look and will come back you On Tue, Jul 7, 2015 at 11:11 PM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io
Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist Twitter : @cmoulliard |
Free forum by Nabble | Edit this page |