From hhalvors at Princeton.EDU Fri Feb 2 16:21:58 2007 From: hhalvors at Princeton.EDU (Hans Halvorson) Date: Fri, 02 Feb 2007 11:21:58 -0500 Subject: [cl-markdown-devel] links, lists, headings Message-ID: <87fy9oedi1.wl%hhalvors@Princeton.EDU> I have come across some weird behavior in the interaction between links, lists, and headings (cl-markdown v 0.8.2). The following two forms act as they should: (markdown "## Common Lisp * An item with a link [link](link.html) and some following text." :format :html :stream nil) => "
An item with a link link and some following text.
. For example, (markdown " New paragraph " :format :html :stream nil) => "
New paragraph
" Best wishes, Hans At Fri, 02 Feb 2007 13:21:43 -0500, Gary King wrote: > > Hi Hans, > > Thanks for your bug report. I agree that the first list item in the > last example should not have paragraph tags around it. > > > By the way, shouldn't the xhtml tags be lower case by default? > > Whoopts, yes. I've been using Allegro Common Lisp in "modern" mode > lately and it translates my keywords like :h1 into :h1 which outputs > as "h1". ANSI Common Lisp, of course, reads :h1 as :H1 and produces > "H1". > > This will be corrected in the next release (which will happen as soon > as I figure out how to fix the first bug you found! > > thanks again, > -- > Gary Warren King, metabang.com > Cell: (413) 885 9127 > Fax: (206) 338-4052 > gwkkwg on Skype * garethsan on AIM > > > > From gwking at metabang.com Fri Feb 2 22:30:57 2007 From: gwking at metabang.com (Gary King) Date: Fri, 2 Feb 2007 17:30:57 -0500 Subject: [cl-markdown-devel] links, lists, headings In-Reply-To: <87d54suxbg.wl%hhalvors@Princeton.EDU> References: <87fy9oedi1.wl%hhalvors@Princeton.EDU>. For example, > > (markdown " > > New paragraph > " :format :html :stream nil) > > > => "
New paragraph
" > > > Best wishes, > Hans > > At Fri, 02 Feb 2007 13:21:43 -0500, > Gary King wrote: >> >> Hi Hans, >> >> Thanks for your bug report. I agree that the first list item in the >> last example should not have paragraph tags around it. >> >>> By the way, shouldn't the xhtml tags be lower case by default? >> >> Whoopts, yes. I've been using Allegro Common Lisp in "modern" mode >> lately and it translates my keywords like :h1 into :h1 which outputs >> as "h1". ANSI Common Lisp, of course, reads :h1 as :H1 and produces >> "H1". >> >> This will be corrected in the next release (which will happen as soon >> as I figure out how to fix the first bug you found! >> >> thanks again, >> -- >> Gary Warren King, metabang.com >> Cell: (413) 885 9127 >> Fax: (206) 338-4052 >> gwkkwg on Skype * garethsan on AIM >> >> >> >> -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From hhalvors at Princeton.EDU Sat Feb 3 10:59:44 2007 From: hhalvors at Princeton.EDU (Hans Halvorson) Date: Sat, 03 Feb 2007 05:59:44 -0500 Subject: [cl-markdown-devel] list items with newlines Message-ID: <87zm7vjylb.wl%hhalvors@Princeton.EDU> (Perl)-markdown and cl-markdown give different outputs for the following input: * A first list item with a hard return * A second list item The perl-markdown output:Some text.
" Cheers, Hans From hhalvors at Princeton.EDU Mon Feb 5 23:29:44 2007 From: hhalvors at Princeton.EDU (Hans Halvorson) Date: Mon, 05 Feb 2007 18:29:44 -0500 Subject: [cl-markdown-devel] author property broken? In-Reply-To: <878xfckxj3.wl%hhalvors@Princeton.EDU> References: <878xfckxj3.wl%hhalvors@Princeton.EDU> Message-ID: <877iuwkwt3.wl%hhalvors@Princeton.EDU> Oops; I see now that 'generate-html-header' (in /dev/html.lisp) doesn't try to put in an author field. (defun generate-html-header () (generate-doctype) (format *output-stream* "~&~&") (awhen (document-property "title") (format *output-stream* "~&Some text.
> > " > > Cheers, > Hans > _______________________________________________ > cl-markdown-devel mailing list > cl-markdown-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/cl-markdown-devel From gwking at metabang.com Tue Feb 6 22:34:26 2007 From: gwking at metabang.com (Gary King) Date: Tue, 6 Feb 2007 17:34:26 -0500 Subject: [cl-markdown-devel] announce: CL-Markdown 0.8.5 Message-ID: <11AB20F8-08B8-4F9C-8949-C44F440566E9@metabang.com> Today's update to [CL-Markdown][] marks brings more fixes to paragraphs and entity encoding. It also finds CL-Markdown saying goodbye to [HTML-Encode][] (because I decided that because I only used a tiny bit of it and because "less dependencies" is a good thing, it was better just to pull the bit out and make it my own...). Oh, there's one more thing: if you're generating HTML (and, frankly, who isn't nowadays), then CL-Markdown looks for the following properties: * author * description * copyright * keywords * date * refresh * expires If it finds one, it adds the appropriate META tag to the HTML header (i.e., either `name` or `http-equiv`). There is no sanity checking but it should handle the basics. If it doesn't, let me know. [HTML-Encode]: http://www.cliki.net/html-encode [CL-Markdown]: http://common-lisp.net/project/cl-markdown/ [Trivial-shell]: http://common-lisp.net/project/trivial-shell/ [comparison]: http://common-lisp.net/project/cl-markdown/comparison- tests/ -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From gwking at metabang.com Wed Feb 21 17:38:03 2007 From: gwking at metabang.com (Gary King) Date: Wed, 21 Feb 2007 12:38:03 -0500 Subject: [cl-markdown-devel] Re: cl-markdown (hangs head in shame) In-Reply-To: <20070221043444.70381.qmail@mail.superb.net> References: <20070221043444.70381.qmail@mail.superb.net> Message-ID: <56302DBF-E169-403E-AB9D-B8EB2ED910D7@metabang.com> (added the mailing list) Hi Luke, No apologies necessary; I'm sorry that this is taking so much effort on your part and appreciate that you are sticking with it. I'll look into the problem you are seeing with defsystem- compatibility. FWIW, I just successfully loaded the bundled version (currently at http://www.metabang.com/resources/cl-markdown- bundle.tar.gz) in the LispWorks personal edition. So if you haven't tried that yet, it might be worth doing so. thanks again, On Feb 20, 2007, at 11:34 PM, Luke J Crook wrote: > Hi Gary, > I must appologize for not trying cl-markdown after you made your > fixes last week. I know it sucks when I make changes in lispbuilder > per user feedback and then don't receive further feedback. > Anyway, I tried cl-markdown today with the latest versions of > everything using darcs pull. > The bad news is that cl-markdown still fails. The error returned in > the SLIME buffer not make much sense, however the error in the > Lipsworks buffer seems to shed more light. I have included the > Lispworks buffer first and then the SLIME buffer after. > The versions of the packages that I am using are as follows: > - asdf-system-connections 0.8.3 > - cl-containers 0.8.3 > - cl-fad 0.5.1 > - cl-markdown 0.8.6 > - cl-ppcre 1.2.19 > - cl-who 0.6.3 > - closer-mop (Feb 06 version) > - defsystem-compatibility (Fri Jun 23 version) > - html-encode 1.2 > - lw-compat 0.22 > - lw-doc 0.1.5 > - metabang-bind (Feb 5 version) > - metatiltiies 0.6.3 > - moptilities (0.3.4) > > - Luke >>>>> Start Lispworks buffer error > > ;;; Compiling file c:\home\bin\clisp\asdf\cl-markdown\dev > \package.lisp ... > ;;; Safety = 3, Speed = 1, Space = 1, Float = 1, Interruptible = 0 > ;;; Compilation speed = 1, Debug = 2, Fixnum safety = 3 > ;;; Source level debugging is on > ;;; Source file recording is on > ;;; Cross referencing is on > ; (TOP-LEVEL-FORM 1) > ; (TOP-LEVEL-FORM 2) > > **++++ Error in (PACKAGE "CL-MARKDOWN"): > No symbol named "SYSTEM-RELATIVE-PATHNAME" is accessible in > #:DEFSYSTEM-COMPATIBILITY. > > **++++ Error in (PACKAGE "CL-MARKDOWN-USER"): > Package CL-MARKDOWN not found. > ; (TOP-LEVEL-FORM 3) > ; *** 2 errors detected, no fasl file produced. > <<<<< End Lispworks buffer error > >>>>>> Start SLIME buffer error > > erred while invoking #tags. Here is an example input string: input string (9 lines total): =============================
Header text
Some text
perl-markdown output: =====================xSome text
See the description of how perl-markdown treats div tags: http://daringfireball.net/projects/markdown/syntax#html Thanks, Hans From gwking at metabang.com Tue Feb 27 01:42:55 2007 From: gwking at metabang.com (Gary King) Date: Mon, 26 Feb 2007 20:42:55 -0500 Subject: [cl-markdown-devel] div tags In-Reply-To: <87odnhrn00.wl%hhalvors@Princeton.EDU> References: <87odnhrn00.wl%hhalvors@Princeton.EDU> Message-ID: <6C685313-27CE-46BE-903C-DAB0EEB0CCC0@metabang.com> Hi Hans, Thanks for this bug report. I'll look soon. On Feb 26, 2007, at 9:50 AM, Hans Halvorson wrote: > cl-markdown does not yet treat> tags. Here is an example input string: > > > input string (9 lines total): > ============================= > >
Header text
Some text
> > > perl-markdown output: > =====================x > >Some text
> > > See the description of how perl-markdown treats div tags: > http://daringfireball.net/projects/markdown/syntax#html > > Thanks, > Hans > _______________________________________________ > cl-markdown-devel mailing list > cl-markdown-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/cl-markdown-devel -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From gwking at metabang.com Tue Feb 27 01:44:27 2007 From: gwking at metabang.com (Gary King) Date: Mon, 26 Feb 2007 20:44:27 -0500 Subject: [cl-markdown-devel] Re: feature request (user guide) In-Reply-To: <877iu5b7et.wl%hhalvors@Princeton.EDU> References: <877iu5b7et.wl%hhalvors@Princeton.EDU> Message-ID:First line
Second line
First line Second line
Best wishes, Hans From gwking at metabang.com Tue Feb 27 15:15:05 2007 From: gwking at metabang.com (Gary King) Date: Tue, 27 Feb 2007 10:15:05 -0500 Subject: [cl-markdown-devel] div tags In-Reply-To: <87odnhrn00.wl%hhalvors@Princeton.EDU> References: <87odnhrn00.wl%hhalvors@Princeton.EDU> Message-ID: <2CD82F9F-F381-4E46-9F9A-70C9C02762DE@metabang.com> Hi Hans, I have a fix for the errant paragraph tags but I'm not sure I like that Markdown doesn't apply markdown inside the blocks. I.e., I'd rather that> tags. Here is an example input string: > > > input string (9 lines total): > ============================= > >
Header text
Some text
> > > perl-markdown output: > =====================x > >Some text
> > > See the description of how perl-markdown treats div tags: > http://daringfireball.net/projects/markdown/syntax#html > > Thanks, > Hans > _______________________________________________ > cl-markdown-devel mailing list > cl-markdown-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/cl-markdown-devel -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From hhalvors at Princeton.EDU Tue Feb 27 16:15:00 2007 From: hhalvors at Princeton.EDU (Hans Halvorson) Date: Tue, 27 Feb 2007 11:15:00 -0500 Subject: [cl-markdown-devel] div tags In-Reply-To: <2CD82F9F-F381-4E46-9F9A-70C9C02762DE@metabang.com> References: <87odnhrn00.wl%hhalvors@Princeton.EDU> <2CD82F9F-F381-4E46-9F9A-70C9C02762DE@metabang.com> Message-ID: <87hct737cr.wl%hhalvors@Princeton.EDU> Gary, I agree with your first impulse. It would be very natural to use> > tags. Here is an example input string: > > > > > > input string (9 lines total): > > ============================= > > > >
Header text
Some text
> > > > > > perl-markdown output: > > =====================x > > > >Some text
> > > > > > See the description of how perl-markdown treats div tags: > > http://daringfireball.net/projects/markdown/syntax#html > > > > Thanks, > > Hans > > _______________________________________________ > > cl-markdown-devel mailing list > > cl-markdown-devel at common-lisp.net > > http://common-lisp.net/cgi-bin/mailman/listinfo/cl-markdown-devel > > -- > Gary Warren King, metabang.com > Cell: (413) 885 9127 > Fax: (206) 338-4052 > gwkkwg on Skype * garethsan on AIM > > > > From hutch at recursive.ca Wed Feb 28 14:24:41 2007 From: hutch at recursive.ca (Bob Hutchison) Date: Wed, 28 Feb 2007 09:24:41 -0500 Subject: [cl-markdown-devel] div tags In-Reply-To: <2CD82F9F-F381-4E46-9F9A-70C9C02762DE@metabang.com> References: <87odnhrn00.wl%hhalvors@Princeton.EDU> <2CD82F9F-F381-4E46-9F9A-70C9C02762DE@metabang.com> Message-ID: <2570D0A6-E3E6-4637-9CAA-AFFBBA2E8638@recursive.ca> Hi Gary, On 27-Feb-07, at 10:15 AM, Gary King wrote: > Hi Hans, > > I have a fix for the errant paragraph tags but I'm not sure I like > that Markdown doesn't apply markdown inside the blocks. I.e., I'd > rather that > >## Header
For an alternative approach, you can look at maruku>> tags. Here is an example input string: >> >> >> input string (9 lines total): >> ============================= >> >>
Header text
Some text
>> >> >> perl-markdown output: >> =====================x >> >>Some text
>> >> >> See the description of how perl-markdown treats div tags: >> http://daringfireball.net/projects/markdown/syntax#html >> >> Thanks, >> Hans >> _______________________________________________ >> cl-markdown-devel mailing list >> cl-markdown-devel at common-lisp.net >> http://common-lisp.net/cgi-bin/mailman/listinfo/cl-markdown-devel > > -- > Gary Warren King, metabang.com > Cell: (413) 885 9127 > Fax: (206) 338-4052 > gwkkwg on Skype * garethsan on AIM > > > > > _______________________________________________ > cl-markdown-devel mailing list > cl-markdown-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/cl-markdown-devel ---- Bob Hutchison -- blogs at