hi kris, beware that the markdown parser isn't complete yet :/.
normally you would write a visitor which walks over the returned data (markdown nodes in this case). If you inspect further the returned elements you will see how they reflect the different markdown entities... I didn't add a default implementation to the petit-markdown package yet, but you can find an implementation for seaside in the following repos http://ss3.gemstone.com/ss/webdoc look for the CommentFormatter class. hope that helps a bit cami On 2012-04-29, at 14:49, Kristinn wrote: > Hello, > I'm trying to use the PetitParserMarkdown package. I run the code below in a > workspace and get an array. I'm not sure how to turn the array into HTML. > Any help is greatly appreciated. > Thanks, Kris > | doc parsedDoc| > doc := ' > This is Markdown! > ================= > and another header > ------------------ > > This is a normal paragraph. > And this too! > '. > > parsedDoc := PPMarkdownParser new parse: doc . > parsedDoc . > >
