Problems with incorporating markdown into a project

A. Pagaltzis pagaltzis at gmx.de
Sun May 8 02:36:31 EDT 2005


* Ryan Booker <ryanbooker at gmail.com> [2005-05-08 04:55]:
> This works perfectly on the mac.
> 
> As soon as I upload this to my Textdrive account, it no longer
> works. Markdown refuses to correctly convert referenced links
> to html. Though all other markdown syntax continues to work.

The only thing that comes to mind off-hand is newlines. Indeed
Markdown does match on `\n` when attempting to find references,
so if the text file contains newlines that don’t like as expected
by both the respective system, it will fail to find the
references. Mac Classic uses a CR (carriage return) character,
Unix systems use a LF (linefeed), DOS/Win machines use CR+LF. The
whole shebang may get converted by FTP clients on up/download.

That’s the first thing I would check: what OS does your hosting
run, what newlines does it expect, and what newlines are in your
files before and after upload?

Regards,
-- 
#Aristotle
*AUTOLOAD=*_=sub{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;


More information about the Markdown-Discuss mailing list