public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* autolinks in extended markdown?
@ 2012-11-11 19:56 Pablo Rodríguez
       [not found] ` <50A002F5.8080304-S0/GAf8tV78@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Pablo Rodríguez @ 2012-11-11 19:56 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Hi there,

sorry, I'm new with pandoc's markdown and I don't know how to create an
autolink to http://www.example.com.

"<http://www.example.com>" inserts the url in the ePub document as <code
class="url">, but I want the standard "<a
href="http://www.example.com">http://www.example.com</a>".

How can I achieve that without having to write
"[http://www.example.com](http://www.example.com)"?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: autolinks in extended markdown?
       [not found] ` <50A002F5.8080304-S0/GAf8tV78@public.gmane.org>
@ 2012-11-11 22:46   ` John MacFarlane
       [not found]     ` <20121111224617.GF4399-9Rnp8PDaXcZ2EAH53EmH34tHsfhOvSUSZkel5v8DVj8@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: John MacFarlane @ 2012-11-11 22:46 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Pandoc puts link addresses and emails in "code" tags.
I think I may change that.  Do people have strong feelings
either way?

In any case:  for now, you can simply add some CSS to
style

a code.url

so that it doesn't use a monospace font.

+++ Pablo Rodríguez [Nov 11 12 20:56 ]:
> Hi there,
> 
> sorry, I'm new with pandoc's markdown and I don't know how to create an
> autolink to http://www.example.com.
> 
> "<http://www.example.com>" inserts the url in the ePub document as <code
> class="url">, but I want the standard "<a
> href="http://www.example.com">http://www.example.com</a>".
> 
> How can I achieve that without having to write
> "[http://www.example.com](http://www.example.com)"?
> 
> Many thanks for your help,
> 
> 
> Pablo
> -- 
> http://www.ousia.tk
> 
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: autolinks in extended markdown?
       [not found]     ` <20121111224617.GF4399-9Rnp8PDaXcZ2EAH53EmH34tHsfhOvSUSZkel5v8DVj8@public.gmane.org>
@ 2012-11-11 23:16       ` John Gabriele
       [not found]         ` <CAO9PwMUDgceGmh6mgA0B58bbWMOse7C7v5NuY3frMdk2VPE6_w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2012-11-12 19:43       ` Pablo Rodríguez
  1 sibling, 1 reply; 6+ messages in thread
From: John Gabriele @ 2012-11-11 23:16 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

On Sun, Nov 11, 2012 at 5:46 PM, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Pandoc puts link addresses and emails in "code" tags.
> I think I may change that.  Do people have strong feelings
> either way?

I think they look better as regular text (not monospace). Also, long
urls take up less room when rendered as regular text.

---John


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: autolinks in extended markdown?
       [not found]         ` <CAO9PwMUDgceGmh6mgA0B58bbWMOse7C7v5NuY3frMdk2VPE6_w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-11-12 13:06           ` Jeff Russell
       [not found]             ` <6d06b29d-0439-40ae-8336-21d5c623d2a1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Russell @ 2012-11-12 13:06 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 1197 bytes --]

One point to consider is that monospace fonts usually are designed to 
visually distinguish, for example, 0 and O, or 1 and l, which is important 
if you are trying to use an address from a printed document.

Jeff

On Sunday, November 11, 2012 11:16:10 PM UTC, John Gabriele wrote:
>
> On Sun, Nov 11, 2012 at 5:46 PM, John MacFarlane <fiddlo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org<javascript:>> 
> wrote: 
> > Pandoc puts link addresses and emails in "code" tags. 
> > I think I may change that.  Do people have strong feelings 
> > either way? 
>
> I think they look better as regular text (not monospace). Also, long 
> urls take up less room when rendered as regular text. 
>
> ---John 
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msg/pandoc-discuss/-/A8ipzggQPIwJ.
For more options, visit https://groups.google.com/groups/opt_out.



[-- Attachment #2: Type: text/html, Size: 1645 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: autolinks in extended markdown?
       [not found]             ` <6d06b29d-0439-40ae-8336-21d5c623d2a1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2012-11-12 14:32               ` Ryan Gray
  0 siblings, 0 replies; 6+ messages in thread
From: Ryan Gray @ 2012-11-12 14:32 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 2054 bytes --]

Good point. I would add that this feature probably is only going to be used with shorter, friendlier URLs that may not suffer from a non-monospaced font. However, it may likely include shortened ones that could require such a font. 

As an alternative, aren't the serif fonts generally much better than the sans serif ones?


Ryan

On Nov 12, 2012, at 6:06 AM, Jeff Russell <jeff.t.russell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> One point to consider is that monospace fonts usually are designed to visually distinguish, for example, 0 and O, or 1 and l, which is important if you are trying to use an address from a printed document.
> 
> Jeff
> 
> On Sunday, November 11, 2012 11:16:10 PM UTC, John Gabriele wrote:
>> 
>> On Sun, Nov 11, 2012 at 5:46 PM, John MacFarlane <fiddlo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: 
>> > Pandoc puts link addresses and emails in "code" tags. 
>> > I think I may change that.  Do people have strong feelings 
>> > either way? 
>> 
>> I think they look better as regular text (not monospace). Also, long 
>> urls take up less room when rendered as regular text. 
>> 
>> ---John
> 
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msg/pandoc-discuss/-/A8ipzggQPIwJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.



[-- Attachment #2: Type: text/html, Size: 2997 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: autolinks in extended markdown?
       [not found]     ` <20121111224617.GF4399-9Rnp8PDaXcZ2EAH53EmH34tHsfhOvSUSZkel5v8DVj8@public.gmane.org>
  2012-11-11 23:16       ` John Gabriele
@ 2012-11-12 19:43       ` Pablo Rodríguez
  1 sibling, 0 replies; 6+ messages in thread
From: Pablo Rodríguez @ 2012-11-12 19:43 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Thanks for the tip, John.

I was thought that my syntax was wrong.


Pablo


On 11/11/12 23:46, John MacFarlane wrote:
> Pandoc puts link addresses and emails in "code" tags.
> I think I may change that.  Do people have strong feelings
> either way?
> 
> In any case:  for now, you can simply add some CSS to
> style
> 
> a code.url
> 
> so that it doesn't use a monospace font.
> 
> +++ Pablo Rodríguez [Nov 11 12 20:56 ]:
>> Hi there,
>>
>> sorry, I'm new with pandoc's markdown and I don't know how to create an
>> autolink to http://www.example.com.
>>
>> "<http://www.example.com>" inserts the url in the ePub document as <code
>> class="url">, but I want the standard "<a
>> href="http://www.example.com">http://www.example.com</a>".
>>
>> How can I achieve that without having to write
>> "[http://www.example.com](http://www.example.com)"?
>>
>> Many thanks for your help,
>>
>>
>> Pablo
>> -- 
>> http://www.ousia.tk
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
>> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
> 

-- 
http://www.ousia.tk

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-11-12 19:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-11 19:56 autolinks in extended markdown? Pablo Rodríguez
     [not found] ` <50A002F5.8080304-S0/GAf8tV78@public.gmane.org>
2012-11-11 22:46   ` John MacFarlane
     [not found]     ` <20121111224617.GF4399-9Rnp8PDaXcZ2EAH53EmH34tHsfhOvSUSZkel5v8DVj8@public.gmane.org>
2012-11-11 23:16       ` John Gabriele
     [not found]         ` <CAO9PwMUDgceGmh6mgA0B58bbWMOse7C7v5NuY3frMdk2VPE6_w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-12 13:06           ` Jeff Russell
     [not found]             ` <6d06b29d-0439-40ae-8336-21d5c623d2a1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2012-11-12 14:32               ` Ryan Gray
2012-11-12 19:43       ` Pablo Rodríguez

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).