I was wondering if there is a single text file that contains all the markup in a way that one can visually check to see if a markdown script is succeeding. I know there's a Perl test suite, but I'm looking for just one source file. Thanks. -- Ben Wilson " Mundus vult decipi, ergo decipiatur"
The official syntax docs are available as source[1]. It may not test everything, but there are many examples that will give you some basic tests for every feature. It's a start. [1]: http://daringfireball.net/projects/markdown/syntax.text On 5/12/06, Ben Wilson <dausha@gmail.com> wrote:> I was wondering if there is a single text file that contains all the > markup in a way that one can visually check to see if a markdown > script is succeeding. I know there's a Perl test suite, but I'm > looking for just one source file. > > Thanks. > > -- > Ben Wilson > " Mundus vult decipi, ergo decipiatur" > _______________________________________________ > Markdown-Discuss mailing list > Markdown-Discuss@six.pairlist.net > http://six.pairlist.net/mailman/listinfo/markdown-discuss >-- ---- Waylan Limberg waylan@gmail.com
I had thought of using that. But, I would want to clean up the HTML out of it first. I was just hoping somebody had a ready-to-go file. :-) I suppose I'll be the one. ;-) Ben On 5/13/06, Waylan Limberg <waylan@gmail.com> wrote:> The official syntax docs are available as source[1]. It may not test > everything, but there are many examples that will give you some basic > tests for every feature. It's a start. > > [1]: http://daringfireball.net/projects/markdown/syntax.text > > On 5/12/06, Ben Wilson <dausha@gmail.com> wrote: > > I was wondering if there is a single text file that contains all the > > markup in a way that one can visually check to see if a markdown > > script is succeeding. I know there's a Perl test suite, but I'm > > looking for just one source file. > > > > Thanks. > > > > -- > > Ben Wilson > > " Mundus vult decipi, ergo decipiatur" > > _______________________________________________ > > Markdown-Discuss mailing list > > Markdown-Discuss@six.pairlist.net > > http://six.pairlist.net/mailman/listinfo/markdown-discuss > > > > > -- > ---- > Waylan Limberg > waylan@gmail.com > _______________________________________________ > Markdown-Discuss mailing list > Markdown-Discuss@six.pairlist.net > http://six.pairlist.net/mailman/listinfo/markdown-discuss >-- Ben Wilson " Mundus vult decipi, ergo decipiatur"
John Gruber has a test suite. Not a single file, but useful nontheless: http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip Best, Mark On 14 May 2006, at 02:05, Ben Wilson wrote:> I had thought of using that. But, I would want to clean up the HTML > out of it first. I was just hoping somebody had a ready-to-go file. > :-) I suppose I'll be the one. ;-) > > Ben > > On 5/13/06, Waylan Limberg <waylan@gmail.com> wrote: >> The official syntax docs are available as source[1]. It may not test >> everything, but there are many examples that will give you some basic >> tests for every feature. It's a start. >> >> [1]: http://daringfireball.net/projects/markdown/syntax.text >> >> On 5/12/06, Ben Wilson <dausha@gmail.com> wrote: >> > I was wondering if there is a single text file that contains all >> the >> > markup in a way that one can visually check to see if a markdown >> > script is succeeding. I know there's a Perl test suite, but I'm >> > looking for just one source file. >> > >> > Thanks. >> > >> > -- >> > Ben Wilson >> > " Mundus vult decipi, ergo decipiatur" >> > _______________________________________________ >> > Markdown-Discuss mailing list >> > Markdown-Discuss@six.pairlist.net >> > http://six.pairlist.net/mailman/listinfo/markdown-discuss >> > >> >> >> -- >> ---- >> Waylan Limberg >> waylan@gmail.com >> _______________________________________________ >> Markdown-Discuss mailing list >> Markdown-Discuss@six.pairlist.net >> http://six.pairlist.net/mailman/listinfo/markdown-discuss >> > > > -- > Ben Wilson > " Mundus vult decipi, ergo decipiatur" > _______________________________________________ > Markdown-Discuss mailing list > Markdown-Discuss@six.pairlist.net > http://six.pairlist.net/mailman/listinfo/markdown-discuss
* Mark Eli Kalderon <m.kalderon@ucl.ac.uk> [2006-05-14 03:30]:> John Gruber has a test suite. Not a single file, but useful > nontheless: > > http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zipHis first mail said he knew about that and it wasn?t what he wanted? Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>
True. I'm looking for a single file. However, I suppose the _smart_ thing for me to do would be to apply all those tests in one file with a lot of "ipsum" tossed in. If nobody chimes in with a test page, then I'll make one and post it myself. :-) It will take a few days. Exam week at ye old law school. Ben On 5/13/06, A. Pagaltzis <pagaltzis@gmx.de> wrote:> * Mark Eli Kalderon <m.kalderon@ucl.ac.uk> [2006-05-14 03:30]: > > John Gruber has a test suite. Not a single file, but useful > > nontheless: > > > > http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip > > His first mail said he knew about that and it wasn't what he > wanted? > > Regards, > -- > Aristotle Pagaltzis // <http://plasmasturm.org/> > _______________________________________________ > Markdown-Discuss mailing list > Markdown-Discuss@six.pairlist.net > http://six.pairlist.net/mailman/listinfo/markdown-discuss >-- Ben Wilson " Mundus vult decipi, ergo decipiatur"
Okay, here's the test file thus far.[1] I am using it to evaluate my effort to convert a PmWiki site to recognize Markdown markup. I basically cut & pasted from the Perl test suite, but I elaborated a bit in the inline to put the emphasis markup to the test. Now I can get Markup to perform. I was pleased to see how much it already handled. Ben [1]: http://dausha.net/Markdown/TestFile?action=source On 5/13/06, Ben Wilson <dausha@gmail.com> wrote:> True. I'm looking for a single file. However, I suppose the _smart_ > thing for me to do would be to apply all those tests in one file with > a lot of "ipsum" tossed in. > > If nobody chimes in with a test page, then I'll make one and post it > myself. :-) It will take a few days. Exam week at ye old law school. > > Ben > > On 5/13/06, A. Pagaltzis <pagaltzis@gmx.de> wrote: > > * Mark Eli Kalderon <m.kalderon@ucl.ac.uk> [2006-05-14 03:30]: > > > John Gruber has a test suite. Not a single file, but useful > > > nontheless: > > > > > > http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip > > > > His first mail said he knew about that and it wasn't what he > > wanted? > > > > Regards, > > -- > > Aristotle Pagaltzis // <http://plasmasturm.org/> > > _______________________________________________ > > Markdown-Discuss mailing list > > Markdown-Discuss@six.pairlist.net > > http://six.pairlist.net/mailman/listinfo/markdown-discuss > > > > > -- > Ben Wilson > " Mundus vult decipi, ergo decipiatur" >-- Ben Wilson " Mundus vult decipi, ergo decipiatur"