cdent / tank

Tiddlers Are N[eo][tw] Knowledge
BSD 3-Clause "New" or "Revised" License
12 stars 7 forks source link

Editing preview? #108

Open cdent opened 10 years ago

cdent commented 10 years ago

Again, good stuff from @eekim:

Definitely missing a preview button. Would be even better if there were live HTML rendering. It's less about the formatting, more about the tank-specific features, like transclusions.

I understand the desire for this but I'm extremely ambivalent about it. Not only is it somewhat challenging (with regard to transclusions) its also annoying the way it seems to encourage people to frivolously format etc. The markdown renderer is fully server side, and the "special features" (wikilinks, freelinks, targeted versions of those and transclusion) are custom code that extends default Markdown. To support those would require creating a temporary server side tiddler, rendering that, sending back the content to the preview window. Or getting a smart(er) client side rendering. Or leaving out the special features in the preview.

I'd be more inclined to see useful autocomplete of tiddler titles in the editor.

Another aspect is that the comp functionality can allow any client side editor to be created.

There's a difficult balance between making the editor fast and simple (just a textarea) and awesome. I'm not sure how to resolve it. So the feedback is excellent.

eekim commented 10 years ago

Definitely understand this. I like the idea of keeping the implementation on the tank side fairly simple, and having others innovate themselves on the client-side.

However, a big +1 for autocompleting tiddler titles in the editor.