I think #Jevko / #JDAML is pretty perfect for rapidly exploring stuff like this and I think #Znatchke + #JS can grow to be a viable document format.

I'd love to #research this stuff further. Now all I need is #funding... Fortunately, that's easy to get, especially in this #niche. You wouldn't believe how many zeroes are on the sum of #money I've gotten over the years of working on this stuff. Hint: it's a single-digit number.

So anyway, anybody want to buy me a #coffee or something yet? :D

Here is the rest of the demo and the output.

NB this prototype is implemented with surprisingly little code. I am not even using a #JS #parser here. Just translating the syntax tree to valid JS and calling eval to get a static tree which is then ran thru a #Znatchke to #HTML converter and rendered.

All possible thanks to the minimal nature of #Jevko -- it just doesn't get in the way. Which is just perfect for #prototyping!

How about something in between #Markdown and #HTML, but #simpler, more #flexible, and much easier to #parse than both?

Cooking that under #codename #Znatchke (after #tchotchke).

I have even played around with a few #microformats on top of JDAML -- one codenamed #Znatchke which is something in between HTML and #Markdown and one which shows how something like #doctest could be implemented with JDAML (suggested by @RyunoKi).