Re: Inline HTML link and mailto: link

2012-01-13 Thread R (Chandra) Chandrasekhar

On Saturday 14 January 2012 12:06 AM, Waylan Limberg wrote:

On Fri, Jan 13, 2012 at 1:15 PM, R (Chandra) Chandrasekhar
  wrote:

May I ask a supplementary question please: How are em-dashes and en-dashes
handled in Markdown?



They aren't. You may want to check out
[smartypants](http://daringfireball.net/projects/smartypants/) for
that which was written by the same author.

In fact, smartypants is a "filter" available on the Markdown Dingus
(select "markdown", "smartypants" or "both").



I have just discovered, thanks to the wonder of Unix pipes, that this works:

markdown filename.md | ./SmartyPants.pl - > filename.html

where SmartyPants.pl resides in the current working directory or in an 
executable path.


The only problem as I see it is that three dashes produce a long dash 
and a hyphen rather than an em-dash, although two dashes seem to work 
well. But investigating that will have to wait for the morrow!


This is a very generous mailing list and my thanks to all who answered 
so helpfully and promptly :-)


Chandra
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss


Re: Inline HTML link and mailto: link

2012-01-13 Thread R (Chandra) Chandrasekhar

On Saturday 14 January 2012 12:05 AM, David Chambers wrote:

How are em-dashes and en-dashes handled in Markdown?


You can include Unicode characters in Markdown documents, so go ahead
and use the actual characters if you want to. On OS X, ⌥- produces an en
dash and ⇧⌥- an em dash.

Many Markdown implementations offer extensions which allow "--" to be
used to represent an en dash and "---" to represent an em dash.


Thank you.

I was hoping for the second solution above that is also used in LaTeX.

I tried downloading SmartyPants but that seems to need Moveable Type to 
work, if I have understood it correctly.


I have also downloaded and installed libtext-typography-perl which 
claims to be "a thin wrapper for John Gruber's SmartyPants plugin for
 various CMSs" but I do not know where SmartyPants.pl should reside for 
this synergy to happen.


TIA.

Chandra


David



___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss


Re: Inline HTML link and mailto: link

2012-01-13 Thread Waylan Limberg
On Fri, Jan 13, 2012 at 1:15 PM, R (Chandra) Chandrasekhar
 wrote:
> Wow, that was a quick reply!
>
> Yes, indeed, I was putting a space between ] and (. I have corrected that
> and now both the links work as they should :-).
>
> May I ask a supplementary question please: How are em-dashes and en-dashes
> handled in Markdown?
>

They aren't. You may want to check out
[smartypants](http://daringfireball.net/projects/smartypants/) for
that which was written by the same author.

In fact, smartypants is a "filter" available on the Markdown Dingus
(select "markdown", "smartypants" or "both").

-- 

\X/ /-\ `/ |_ /-\ |\|
Waylan Limberg
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss


Re: Inline HTML link and mailto: link

2012-01-13 Thread David Chambers
>
> How are em-dashes and en-dashes handled in Markdown?


You can include Unicode characters in Markdown documents, so go ahead and
use the actual characters if you want to. On OS X, ⌥- produces an en dash
and ⇧⌥- an em dash.

Many Markdown implementations offer extensions which allow "--" to be used
to represent an en dash and "---" to represent an em dash.

David


On 13 January 2012 10:15, R (Chandra) Chandrasekhar wrote:

> Wow, that was a quick reply!
>
> Yes, indeed, I was putting a space between ] and (. I have corrected that
> and now both the links work as they should :-).
>
> May I ask a supplementary question please: How are em-dashes and en-dashes
> handled in Markdown?
>
> Thank you.
>
> Chandra
>
>
> On Friday 13 January 2012 11:30 PM, Alan Hogan wrote:
>
>> Are you putting spaces between ] and ( ? You shouldn't.
>>
>> ajh
>>
>> On Jan 13, 2012, at 9:52 AM, "R (Chandra)
>> Chandrasekhar">  wrote:
>>
>>  Dear Folks,
>>>
>>> I am just starting out with Markdown and am trying to get two
>>> elements working:
>>>
>>> (1) An inline HTML link; and
>>>
>>> (2) An inline mailto: link
>>>
>>> as shown in the text below:
>>>
>>> We invite you to [browse] 
>>> (http://academy.swanlotus.com/**index.html
>>> )
>>> this website. Take a look and see if you find anything useful. And
>>> do [drop us a line] (mailto:feedb...@swanlotus.com**) with your
>>> comments for improvement.
>>>
>>> I tried it out on Dingus and failed to get the expected HTML
>>> version like:
>>>
>>> We invite you to>> href="http://academy.**swanlotus.com/index.html
>>> ">**browse  this
>>> website. Take a look and see if you find anything useful. And do>> href="mailto:feedback@**swanlotus.com ">drop us
>>> a line  with your
>>> comments for improvement.
>>>
>>> Instead, Dingus gave me:
>>>
>>> We invite you to [browse] 
>>> (http://academy.swanlotus.com/**index.html
>>> )
>>> this website. Take a look and see if you find anything useful. And
>>> do [drop us a line] (mailto:feedb...@swanlotus.com**) with your
>>> comments for improvement.
>>>
>>> This is my first experience with Markdown, although I am conversant
>>> with HTML and very conversant with LaTeX.
>>>
>>> What am I doing wrong and why am I not getting the expected HTML
>>> markup?
>>>
>>> FYI, I am on Kubuntu 11.10 using Markdown, version 1.0.1 from the
>>> standard .deb package.
>>>
>>> Thanks in advance.
>>>
>>> Chandra __**_
>>> Markdown-Discuss mailing list 
>>> Markdown-Discuss@six.pairlist.**net
>>> http://six.pairlist.net/**mailman/listinfo/markdown-**discuss
>>>
>> __**_ Markdown-Discuss
>> mailing list 
>> Markdown-Discuss@six.pairlist.**net
>> http://six.pairlist.net/**mailman/listinfo/markdown-**discuss
>>
>
>
> --
> --
> R (Chandra) Chandrasekhar
> Web: http://swanlotus.com
> email: chyav...@gmail.com
> --
>
> __**_
> Markdown-Discuss mailing list
> Markdown-Discuss@six.pairlist.**net 
> http://six.pairlist.net/**mailman/listinfo/markdown-**discuss
>
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss


Re: Inline HTML link and mailto: link

2012-01-13 Thread R (Chandra) Chandrasekhar

Wow, that was a quick reply!

Yes, indeed, I was putting a space between ] and (. I have corrected 
that and now both the links work as they should :-).


May I ask a supplementary question please: How are em-dashes and 
en-dashes handled in Markdown?


Thank you.

Chandra

On Friday 13 January 2012 11:30 PM, Alan Hogan wrote:

Are you putting spaces between ] and ( ? You shouldn't.

ajh

On Jan 13, 2012, at 9:52 AM, "R (Chandra)
Chandrasekhar"  wrote:


Dear Folks,

I am just starting out with Markdown and am trying to get two
elements working:

(1) An inline HTML link; and

(2) An inline mailto: link

as shown in the text below:

We invite you to [browse] (http://academy.swanlotus.com/index.html)
this website. Take a look and see if you find anything useful. And
do [drop us a line] (mailto:feedb...@swanlotus.com) with your
comments for improvement.

I tried it out on Dingus and failed to get the expected HTML
version like:

We invite you tohttp://academy.swanlotus.com/index.html";>browse  this
website. Take a look and see if you find anything useful. And domailto:feedb...@swanlotus.com";>drop us a line  with your
comments for improvement.

Instead, Dingus gave me:

We invite you to [browse] (http://academy.swanlotus.com/index.html)
this website. Take a look and see if you find anything useful. And
do [drop us a line] (mailto:feedb...@swanlotus.com) with your
comments for improvement.

This is my first experience with Markdown, although I am conversant
with HTML and very conversant with LaTeX.

What am I doing wrong and why am I not getting the expected HTML
markup?

FYI, I am on Kubuntu 11.10 using Markdown, version 1.0.1 from the
standard .deb package.

Thanks in advance.

Chandra ___
Markdown-Discuss mailing list Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss

___ Markdown-Discuss
mailing list Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss



--
--
R (Chandra) Chandrasekhar
Web: http://swanlotus.com
email: chyav...@gmail.com
--
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss


Re: Inline HTML link and mailto: link

2012-01-13 Thread Alan Hogan
Are you putting spaces between ] and ( ? You shouldn't. 

ajh

On Jan 13, 2012, at 9:52 AM, "R (Chandra) Chandrasekhar"  
wrote:

> Dear Folks,
> 
> I am just starting out with Markdown and am trying to get two elements 
> working:
> 
> (1) An inline HTML link; and
> 
> (2) An inline mailto: link
> 
> as shown in the text below:
> 
> We invite you to [browse] (http://academy.swanlotus.com/index.html) this 
> website. Take a look and see if you find anything useful. And do [drop us a 
> line] (mailto:feedb...@swanlotus.com) with your comments for improvement.
> 
> I tried it out on Dingus and failed to get the expected HTML version like:
> 
> We invite you to http://academy.swanlotus.com/index.html";>browse 
> this website. Take a look and see if you find anything useful. And do  href="mailto:feedb...@swanlotus.com";>drop us a line with your comments 
> for improvement.
> 
> Instead, Dingus gave me:
> 
> We invite you to [browse] (http://academy.swanlotus.com/index.html) this 
> website. Take a look and see if you find anything useful. And do [drop us a 
> line] (mailto:feedb...@swanlotus.com) with your comments for improvement.
> 
> This is my first experience with Markdown, although I am conversant with HTML 
> and very conversant with LaTeX.
> 
> What am I doing wrong and why am I not getting the expected HTML markup?
> 
> FYI, I am on Kubuntu 11.10 using Markdown, version 1.0.1 from the standard 
> .deb package.
> 
> Thanks in advance.
> 
> Chandra
> ___
> Markdown-Discuss mailing list
> Markdown-Discuss@six.pairlist.net
> http://six.pairlist.net/mailman/listinfo/markdown-discuss
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss


Inline HTML link and mailto: link

2012-01-13 Thread R (Chandra) Chandrasekhar

Dear Folks,

I am just starting out with Markdown and am trying to get two elements 
working:


(1) An inline HTML link; and

(2) An inline mailto: link

as shown in the text below:

We invite you to [browse] (http://academy.swanlotus.com/index.html) this 
website. Take a look and see if you find anything useful. And do [drop 
us a line] (mailto:feedb...@swanlotus.com) with your comments for 
improvement.


I tried it out on Dingus and failed to get the expected HTML version like:

We invite you to href="http://academy.swanlotus.com/index.html";>browse this website. 
Take a look and see if you find anything useful. And do href="mailto:feedb...@swanlotus.com";>drop us a line with your 
comments for improvement.


Instead, Dingus gave me:

We invite you to [browse] (http://academy.swanlotus.com/index.html) this 
website. Take a look and see if you find anything useful. And do [drop 
us a line] (mailto:feedb...@swanlotus.com) with your comments for 
improvement.


This is my first experience with Markdown, although I am conversant with 
HTML and very conversant with LaTeX.


What am I doing wrong and why am I not getting the expected HTML markup?

FYI, I am on Kubuntu 11.10 using Markdown, version 1.0.1 from the 
standard .deb package.


Thanks in advance.

Chandra
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss