public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "Pablo Rodríguez" <oinos-S0/GAf8tV78@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: filter to break urls in HTML
Date: Thu, 18 Dec 2014 23:33:47 +0100	[thread overview]
Message-ID: <5493564B.8050105@web.de> (raw)
In-Reply-To: <CALuQ0m-RMv-RkiF9gsKM8VPGi2v=vCsWJ+AQU1fxyBD=NEoT5Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 12/18/2014 08:57 PM, Matthew Pickering wrote:
> That's exactly right. (Sorry I didn't mean to imply it took me 90
> minutes, it took no more than 5 but I was only able to help you out 90
> minutes after you had posted to the list)

Many thanks for the confirmation, Matthew.

Your reply in 90 minutes was more than fast. I’m really thankful for that.

And sorry for not having replied myself that fast :-).


Pablo


> On Thu, Dec 18, 2014 at 7:29 PM, Pablo Rodríguez wrote:
>> On 12/18/2014 07:37 AM, Pablo Rodríguez wrote:
>>> [...]
>>> I have a further request about the filter. (Sorry, I’d avoid it, but
>>> this is about readability.)
>>>
>>> Autolinks are parsed into HTML with the class "uri". This is perfect to
>>> style them as different from standard text and from other links such as
>>> "[a link](http://www.link.com)".
>>>
>>> Would it be possible that the filter adds "class=uri" when parsing the
>>> autolink to HTML?
>>
>> Dear Mathew,
>>
>> I think I have found a workaround that seems to work.
>>
>> I don’t really know whether this is right but I replaced:
>>
>>   | x == url = Link [Str (insertSpaces' x)] (url, tit)
>>
>> with:
>>
>>   | x == url = Span ("",["uri"],[]) [Link [Str (insertSpaces' x)] (url,
>> tit)]
>>
>> From what I understand, I added a span from the uri class. (At least is
>> what I intended [this is all Greek to me].)
>>
>> Many thanks for your extremely generous help,
>>
>>
>> Pablo

-- 
http://www.ousia.tk

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5493564B.8050105%40web.de.
For more options, visit https://groups.google.com/d/optout.


  parent reply	other threads:[~2014-12-18 22:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-17 20:56 Pablo Rodríguez
     [not found] ` <5491EDED.7030000-S0/GAf8tV78@public.gmane.org>
2014-12-17 22:32   ` Matthew Pickering
     [not found]     ` <CALuQ0m8i3LN3oB-54Km1v0mZzh1FmZa-ugUWuyevufoNjv7HDw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-18  6:37       ` Pablo Rodríguez
     [not found]         ` <54927626.8020401-S0/GAf8tV78@public.gmane.org>
2014-12-18 19:29           ` Pablo Rodríguez
     [not found]             ` <54932B28.6080308-S0/GAf8tV78@public.gmane.org>
2014-12-18 19:57               ` Matthew Pickering
     [not found]                 ` <CALuQ0m-RMv-RkiF9gsKM8VPGi2v=vCsWJ+AQU1fxyBD=NEoT5Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-18 22:33                   ` Pablo Rodríguez [this message]
2014-12-21  0:29   ` BP Jonsson
     [not found]     ` <54961478.30103-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-12-21  0:49       ` Matthew Pickering
     [not found]         ` <CALuQ0m8BFu_YCtuLRbT7P78p1FWsW5XMf+3gHMPn76rva50u6w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-21  1:01           ` BP Jonsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5493564B.8050105@web.de \
    --to=oinos-s0/gaf8tv78@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).