Add a new slim backend vs extension vs ... for empty checkbox

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

Add a new slim backend vs extension vs ... for empty checkbox

ch007m
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
Reply | Threaded
Open this post in threaded view
|

Re: Add a new slim backend vs extension vs ... for empty checkbox

LightGuardjp
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 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



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Add-a-new-slim-backend-vs-extension-vs-for-empty-checkbox-tp3477.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Reply | Threaded
Open this post in threaded view
|

Re: Add a new slim backend vs extension vs ... for empty checkbox

ch007m
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:
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 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



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Add-a-new-slim-backend-vs-extension-vs-for-empty-checkbox-tp3477.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Add-a-new-slim-backend-vs-extension-vs-for-empty-checkbox-tp3477p3478.html
To unsubscribe from Add a new slim backend vs extension vs ... for empty checkbox, click here.
NAML



--
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist
Twitter : @cmoulliard
Reply | Threaded
Open this post in threaded view
|

Re: Add a new slim backend vs extension vs ... for empty checkbox

mojavelinux
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:
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:
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 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



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Add-a-new-slim-backend-vs-extension-vs-for-empty-checkbox-tp3477.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Add-a-new-slim-backend-vs-extension-vs-for-empty-checkbox-tp3477p3478.html
To unsubscribe from Add a new slim backend vs extension vs ... for empty checkbox, click here.
NAML



--
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist
Twitter : @cmoulliard



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Add-a-new-slim-backend-vs-extension-vs-for-empty-checkbox-tp3477p3479.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Reply | Threaded
Open this post in threaded view
|

Re: Add a new slim backend vs extension vs ... for empty checkbox

ch007m
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:
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:
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:
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 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



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Add-a-new-slim-backend-vs-extension-vs-for-empty-checkbox-tp3477.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Add-a-new-slim-backend-vs-extension-vs-for-empty-checkbox-tp3477p3478.html
To unsubscribe from Add a new slim backend vs extension vs ... for empty checkbox, click here.
NAML



--
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist
Twitter : @cmoulliard



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Add-a-new-slim-backend-vs-extension-vs-for-empty-checkbox-tp3477p3479.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Add-a-new-slim-backend-vs-extension-vs-for-empty-checkbox-tp3477p3480.html
To unsubscribe from Add a new slim backend vs extension vs ... for empty checkbox, click here.
NAML



--
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist
Twitter : @cmoulliard