From gwking at metabang.com Wed May 10 15:06:51 2006 From: gwking at metabang.com (Gary King) Date: Wed, 10 May 2006 11:06:51 -0400 Subject: [cl-markdown-devel] Re: cl-markdown In-Reply-To: References: Message-ID: Hi Clemens, This sort of hack is definitely possible though there isn't anything in place right now. I'd suggest adding a ticket via the trac interface (http://trac.common-lisp.net/cl-markdown/newticket). CL-Markdown runs in two "phases". The first does the parsing and the second the generation (not too surprising!). The parsing API is pretty ugly right now and should be improved. I'll keep your desires in mind when I get to that step. thanks, On May 9, 2006, at 4:27 PM, Clemens Heitzinger wrote: > Hello, I just read your announcement. > > I'd like to use it to write some pages. My gripe with markdown.pl > is that I cannot include the html, head, and body tags like in the > example below. (At least I couldn't figure it out.) I thought I > could hack cl-markdown to include headers and footers in the > pages... Everything before and after the two comments would go > verbatim into the output file. Would that be feasible? > > ?Clemens > > > > > > Research > > > > > > # Header 1 > > Markdown text goes here. > > > > > > -- Gary Warren King metabang.com http://www.metabang.com/ (413) 210 7511 gwking on #lisp (occasionally) From gwking at metabang.com Thu May 11 01:48:58 2006 From: gwking at metabang.com (Gary King) Date: Wed, 10 May 2006 21:48:58 -0400 Subject: [cl-markdown-devel] Comparison tests have been updated and improved Message-ID: <70062F5E-ED8B-4C3F-B6B2-02A0186B331D@metabang.com> The tests now show when the comparison exactly matches the output of Markdown and the number and type of differences are reported when they don't match. I've also fixed ticket #8 so that CL-Markdown correctly gets ***strong and em***. -- Gary Warren King metabang.com http://www.metabang.com/ (413) 210 7511 gwking on #lisp (occasionally) From gwking at metabang.com Sun May 14 15:41:42 2006 From: gwking at metabang.com (Gary King) Date: Sun, 14 May 2006 11:41:42 -0400 Subject: [cl-markdown-devel] tickets 15 and 16 Message-ID: <832E6C40-D06A-49A0-8005-104A8BA33AAB@metabang.com> Auuugh. My apologies. I'll let you know once I resolve both the missing dependencies and the SBCL faults. -- Gary Warren King metabang.com http://www.metabang.com/ (413) 210 7511 gwking on #lisp (occasionally) From gwking at metabang.com Mon May 22 23:07:09 2006 From: gwking at metabang.com (Gary King) Date: Mon, 22 May 2006 19:07:09 -0400 Subject: [cl-markdown-devel] CL-Markdown update Message-ID: Apologies if you've already read this on Planet Lisp... I've removed CL-Markdown's dependency on LML2 (though CL-Markdown- Test still uses it to generate the comparison reports). I've also fixed several small tickets. The most important one probably being the correct handling of line breaks with
s sections. I also  
changed the signature of the markdown form. The new one looks like:

> Convert source into a markdown document object and optionally  
> render it to stream using format. Source can be either a string or  
> a pathname or a stream. Stream is like the stream argument in  
> format; it can be a pathname or t (short for *standard-output*) or  
> nil (which will place the output into a string). Format can  
> be :html or :none. In the latter case, no output will be generated.
>
> The markdown command returns (as multiple values) the generated  
> document object and any return value from the rendering (e.g., the  
> string produced when the stream is nil).

I hope that's clear. It makes it easy to go from strings or files to  
strings or files in any supported format (i.e., in HTML ).

There is still some distance to go before the basics are complete but  
things are starting to look pretty good.
-- 
Gary Warren King
metabang.com
http://www.metabang.com/
(413) 210 7511
gwking on #lisp (occasionally)




From gwking at metabang.com  Tue May 23 21:40:36 2006
From: gwking at metabang.com (Gary King)
Date: Tue, 23 May 2006 17:40:36 -0400
Subject: [cl-markdown-devel] Re: Problem while compiling metatilities
In-Reply-To: 
References: 
Message-ID: <32653E03-EBD5-4385-887E-742F1E84EB1F@metabang.com>

Hi Lars,

This bug has been corrected. My apologies.

On May 23, 2006, at 5:20 PM, Lars Rune N?stdal wrote:

> Hello there :)
> I get this while compiling metatilities (dependency of cl-markdown):
>
>  The file "/home/lars/programming/lisp/metatilities/dev/api.lisp"
> does not exist.
>
> The file doesn't seem to exist in the darcs-repo either.
>
> -- 
> Mvh,
> Lars Rune N?stdal
> http://lars.nostdal.org/


-- 
Gary Warren King
metabang.com
http://www.metabang.com/
(413) 210 7511
gwking on #lisp (occasionally)