Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
Jim,
This is a great idea. You've definitely got the right idea (except the cord1 block should be an open block rather than a listing block). I recommend checking out what Rob did for the show/hide logic for example output as the approach will be somewhat similar (though I like your proposal of a custom block). Cheers, -Dan ---------- Forwarded message ---------- From: jnorthr [via Asciidoctor :: Discussion] <[hidden email]> Date: Wed, Sep 17, 2014 at 3:48 PM Subject: Re: Borders for images To: mojavelinux <[hidden email]> Yes thanx for that Dan i suspect that will save me some work when deploying jquery accordions. i was trying to think (if it were me) how i would like to declare a jquery accordion in an .adoc file. Maybe something like = Jquery Accordion Samples :asciidoctor-version: 0.1.4 :accordion: cord1 :accordion-style: darkness == Here are some JQuery Accordion Samples Remember that accordion samples will appear as full title+text in docbook and other alternate formats. [cord1] ---- === Recipes For Cakes Use a lot of sugar === Recipes for Biscuits Use a lot of flour ---- Then since :accordion: is specified as an attribute, i could auto-generate your two files below inserting correct names. The theme is 'darkness' and name of this accordion is 'cord1' :
Sure this would bloat the download page first time thru and it's no good for docbook people or PDF crowd either i guess. But might render as:
ok, maybe this is not so hot an idea as it would really take A/D more into the framework developer crowd than your target audience of document specialist :-{ well, just an idea thx jim On Sep 16, 2014, at 11:31 PM, mojavelinux [via Asciidoctor :: Discussion] wrote:
... [show rest of quote] If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Borders-for-images-tp1957p2242.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email] To unsubscribe from Asciidoctor :: Discussion, click here. NAML Dan Allen | http://google.com/profiles/dan.j.allen |
Free forum by Nabble | Edit this page |