Clientside transformation of markdown to HTML

To save AJAX round trips for live-previews.

Does anybody know whether there exist a cross-browser way to achieve
that ?

All I am currently aware of is this
http://rephrase.net/box/js-markdown/,
there was some talk about it in 2004, unfortunately according to docs it
only works in mozilla-based browsers