October 2005
Sun Mon Tue Wed Thu Fri Sat
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Sep   Nov

©Copyright: 2005
Steve Kirks

Click here to visit the Radio UserLand website.

Click to see the XML version of this web page.

Subscribe in Bloglines

Subscribe to "house of warwick" in Radio UserLand.

Click here to send an email to the editor of this weblog.

Favorite Things:


miniXmlCoffeeMug.gif miniXmlButton.gif jwz
miniXmlCoffeeMug.gif miniXmlButton.gif NI3
John Gruber has written a Perl script that renders his "Markdown" syntax into HTML. I want Radio's redering architecture to do the same. This page is a collection of notes about the programming project.

Markdown rendering in Radio 

How would you do it?

  Radio has callback code for the weblogPostForm. This seems like a logical place to start:

1. User types a post using the Markdown syntax.

2. User presses the Post or Publish button

3. Callback executes the tool script that:

  a. copies the post in raw Markdown syntax into a safe place

  b. renders a copy using the syntax rules to produce the HTML

  c. save the result