Ciao Mark S. I found it interesting. Though I shouldn't pretend I really understand the lua code.
I had a look at WikiPedia HTML. Its a lot cleaner than a lot. I wouldn't say it was easily human readable but it doesn't have the extreme complexities/redundancies(?) so many big traffic sites have. Its also interesting that lua doesn't seem to cope with nested spans any better than TW. My ONE wondering about these conversions is whether they should focus on simplifying HTML or producing markup. NOT that I mean they are orthogonal. But rather the question of WHAT to include in the conversion and what to throw away. But, maybe that kind of thought can only be answered though in terms of destination usage needs? Just thoughts Josiah Mark S. wrote: > > Here's where I'm at with using lua filters inside of Pandoc. The script is > attached. > > I left <spans> as html since TW has no way of doing nested spans and > lua-filters doesn't seem to have a way to tell you when you're inside a > nested span. > > As you can see from the screen shot, without the right classes and > context, the output from WP may not play nicely inside of TW. > > Probably someone would need to tailor the script for whatever platform > they're looking at. > > Not sure if it's worth pursuing further, but it was interesting. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/697aecb7-3fae-48a2-be1b-133eeab2a77c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

