Login  Register

Syntax to have A/D insert ? parms to remote URL

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

Syntax to have A/D insert ? parms to remote URL

jnorthr
Helping convert some markdown docs to A/D and found this  does not work as expected.

In M/D syntax this:

[![Stories in Ready](https://badge.waffle.io/seu-as-code/seu-as-code.plugins.png?label=ready&title=Ready)](https://waffle.io/seu-as-code/seu-as-code.plugins)

shows a badge with actual count of ready docs as part of image.

The closest A/D syntax i can get is:
image:https://badge.waffle.io/seu-as-code/seu-as-code.plugins.png?label=ready&title=Ready[link="https://waffle.io/seu-as-code/seu-as-code.plugins"]

which does not show the ready count as part of the image.

Am guessing the '?label=ready&title=Ready' part of syntax does not reach the server. What syntax do i need to have the count displayed , please ?
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Syntax to have A/D insert ? parms to remote URL

mojavelinux
Administrator
The query string is definitely accepted as part of the image URL. Here's the closest equivalent to the original.


Here's the HTML output it produces:

<div class="paragraph">
<p><span class="image"><a class="image" href="https://waffle.io/seu-as-code/seu-as-code.plugins"><img src="https://badge.waffle.io/seu-as-code/seu-as-code.plugins.png?label=ready&amp;title=Ready" alt="Stories in Ready"></a></span></p>
</div>

-Dan

On Sun, Aug 7, 2016 at 5:54 AM, jnorthr [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Helping convert some markdown docs to A/D and found this  does not work as expected.

In M/D syntax this:

[![Stories in Ready](https://badge.waffle.io/seu-as-code/seu-as-code.plugins.png?label=ready&title=Ready)](https://waffle.io/seu-as-code/seu-as-code.plugins)

shows a badge with actual count of ready docs as part of image.

The closest A/D syntax i can get is:
image:https://badge.waffle.io/seu-as-code/seu-as-code.plugins.png?label=ready&title=Ready[link="https://waffle.io/seu-as-code/seu-as-code.plugins"]

which does not show the ready count as part of the image.

Am guessing the '?label=ready&title=Ready' part of syntax does not reach the server. What syntax do i need to have the count displayed , please ?


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Syntax-to-have-A-D-insert-parms-to-remote-URL-tp4859.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
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Syntax to have A/D insert ? parms to remote URL

jnorthr
thank you Dan ;-)