[twdev] Re: post-processing tiddlywiki generated html

2011-06-27 Thread cd...@peermore.com
On Jun 25, 11:33 am, chris.d...@gmail.com wrote: So there's no block to handle. So the first part of purpleater is to create blocks. I've made some adjustments that improve the situation for me. Basically what it does is look inside any current block resulting from the first split to see if

[twdev] Re: post-processing tiddlywiki generated html

2011-06-27 Thread PMario
Hi Chris, Should your code handle tiddler transclusions too? It doesn't. testcase: [[tiddler 1]] paragraph 1 {{{monospaced text}}} pargraph 2 [[tiddler 2]] some text tiddler tiddler 1 some more text -m -- You received this message because you are subscribed to the Google Groups

Re: [twdev] Re: post-processing tiddlywiki generated html

2011-06-27 Thread chris . dent
On Mon, 27 Jun 2011, PMario wrote: Hi Chris, Should your code handle tiddler transclusions too? I'm not sure I understand you. This page: http://cdent.tiddlyspace.com/HelloThere uses transclusions: http://cdent.tiddlyspace.com/HelloThere.txt and the purple-ness works fine there. Can

[twdev] Re: post-processing tiddlywiki generated html

2011-06-27 Thread PMario
On Jun 27, 8:52 pm, chris.d...@gmail.com wrote: Can you be more specific than It doesn't? Try my testcase testcase: [[tiddler 1]] paragraph 1 {{{monospaced text}}} pargraph 2 [[tiddler 2]] some text tiddler tiddler 1 some more text -- You received this message because you are subscribed

Re: [twdev] Re: post-processing tiddlywiki generated html

2011-06-27 Thread chris . dent
On Mon, 27 Jun 2011, PMario wrote: On Jun 27, 8:52 pm, chris.d...@gmail.com wrote: Can you be more specific than It doesn't? Try my testcase It's hard to tell what your testcase is, because you're using tiddlywiki markup [[ to indicate what I assume is supposed to indicate different

[twdev] Re: post-processing tiddlywiki generated html

2011-06-24 Thread PMario
On Jun 24, 3:15 pm, chris.d...@gmail.com wrote: I saw purpleater which looks quite promising :) My question: Has anyone come up with a good way to post-process this HTML so that it can be used as a reasonable DOM (such that paragraphs are paragraphs etc). I did 3 attempts allready. (Your and