Login  Register

<small> HTML Tag

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

<small> HTML Tag

ch007m
Asciidoctor supports HTML tags like 'emphasis, strong, ...' but not <small>. The workaround that I found  is to use a role [small] before the text or paragraph to be rendered in adoc, ad file.

Example :  Do werewolves believe in [small]#small print#?

But this option does not work when doing a rendering with another backend (revealjs, ...) as the sentence is removed from the HTML generated

[source, adoc]
[small]#Created by# http://cmoulliard.github.io[Charles Moulliard] / http://twitter.com/cmoulliard[@cmoulliard]

[html]
empty

Questions :
1) Is there an issue when combining [small] role with Links ?
2) Is there another workaround to mimic '<small>' HTML Tag ?

Regards,

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

Re: <small> HTML Tag

LightGuardjp
Charles, would you mind writing a test for this, or at least adding an issue? We should also see what the equiv would be in DocBook. I thought we supported sup and sub. 

Sent from Mailbox for iPhone


On Fri, Jan 3, 2014 at 3:28 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Asciidoctor supports HTML tags like 'emphasis, strong, ...' but not <small>. The workaround that I found  is to use a role [small] before the text or paragraph to be rendered in adoc, ad file.

Example :  Do werewolves believe in [small]#small print#?

But this option does not work when doing a rendering with another backend (revealjs, ...) as the sentence is removed from the HTML generated

[source, adoc]
[small]#Created by# http://cmoulliard.github.io[Charles Moulliard] / http://twitter.com/cmoulliard[@cmoulliard]

[html]
empty

Questions :
1) Is there an issue when combining [small] role with Links ?
2) Is there another workaround to mimic '<small>' HTML Tag ?

Regards,

Charles



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/small-HTML-Tag-tp1243.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
| More
Print post
Permalink

Re: <small> HTML Tag

ch007m
I can reproduce the issue using HTML5 for the rendering. So I will create a test case and try to solve the bug. I will open 2 tickets --> 1) one to solve the bug with [small]#text text# and another 2) to support <small> HTML tag


On Fri, Jan 3, 2014 at 6:27 PM, LightGuardjp [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Charles, would you mind writing a test for this, or at least adding an issue? We should also see what the equiv would be in DocBook. I thought we supported sup and sub. 

Sent from Mailbox for iPhone


On Fri, Jan 3, 2014 at 3:28 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Asciidoctor supports HTML tags like 'emphasis, strong, ...' but not <small>. The workaround that I found  is to use a role [small] before the text or paragraph to be rendered in adoc, ad file.

Example :  Do werewolves believe in [small]#small print#?

But this option does not work when doing a rendering with another backend (revealjs, ...) as the sentence is removed from the HTML generated

[source, adoc]
[small]#Created by# http://cmoulliard.github.io[Charles Moulliard] / http://twitter.com/cmoulliard[@cmoulliard]

[html]
empty

Questions :
1) Is there an issue when combining [small] role with Links ?
2) Is there another workaround to mimic '<small>' HTML Tag ?

Regards,

Charles



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/small-HTML-Tag-tp1243.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/small-HTML-Tag-tp1243p1245.html
To unsubscribe from <small> HTML Tag, 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
| More
Print post
Permalink

Re: <small> HTML Tag

ch007m
In reply to this post by LightGuardjp
Following syntax works :

[small]#Created by
http://cmoulliard.github.io[Charles Moulliard] / <a href="http://twitter.com/cmoulliard[@cmoulliard]#">http://twitter.com/cmoulliard[@cmoulliard]#


On Sun, Jan 5, 2014 at 5:30 PM, Charles Moulliard <[hidden email]> wrote:
I can reproduce the issue using HTML5 for the rendering. So I will create a test case and try to solve the bug. I will open 2 tickets --> 1) one to solve the bug with [small]#text text# and another 2) to support <small> HTML tag


On Fri, Jan 3, 2014 at 6:27 PM, LightGuardjp [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Charles, would you mind writing a test for this, or at least adding an issue? We should also see what the equiv would be in DocBook. I thought we supported sup and sub. 

Sent from Mailbox for iPhone


On Fri, Jan 3, 2014 at 3:28 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Asciidoctor supports HTML tags like 'emphasis, strong, ...' but not <small>. The workaround that I found  is to use a role [small] before the text or paragraph to be rendered in adoc, ad file.

Example :  Do werewolves believe in [small]#small print#?

But this option does not work when doing a rendering with another backend (revealjs, ...) as the sentence is removed from the HTML generated

[source, adoc]
[small]#Created by# http://cmoulliard.github.io[Charles Moulliard] / http://twitter.com/cmoulliard[@cmoulliard]

[html]
empty

Questions :
1) Is there an issue when combining [small] role with Links ?
2) Is there another workaround to mimic '<small>' HTML Tag ?

Regards,

Charles



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/small-HTML-Tag-tp1243.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/small-HTML-Tag-tp1243p1245.html
To unsubscribe from <small> HTML Tag, click here.
NAML



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




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

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