What I usually need is just an open source library with a function that turns this wiki into an html string. If you can write such a function, please post it here.
It should be tolerant of html pasted objects like YouTube videos, mathml and TeX inside this line (which is very similar to math.stackexchange)
So, is there such a function in some JavaScript library?
The following is an example of an example.
Header 1 ======== Header 2 -------- # Header 1 # ## Header 2 ## ###### Header 6 =Header1?= = Header1? = <iframe src="http://player.vimeo.com/video/20344220" width="400" height="225" frameborder="0"></iframe><p><a href="http://vimeo.com/20344220">Drawing Inspiration</a> from <a href="http://vimeo.com/user153493">Wesley Louis</a> on <a href="http://vimeo.com">Vimeo</a>.</p> <iframe title="YouTube video player" width="640" height="390" src="http://www.youtube.com/embed/wV1FrqwZyKw" frameborder="0" allowfullscreen></iframe> * Abacus * answer * Bubbles 1. bunk 2. bupkis * BELITTLER 3. burper * Cunning
javascript string html parsing wiki
Rella
source share