On Monday, May 13, 2013 1:55:33 PM UTC+2, Jeremy Ruston wrote: > > Yes, that would work, and internally would be quite convenient. However > I'm reluctant to overload the content type in that way if it can be > avoided, because although it is an easy fix it would result in a > proliferation of content types if applied widely. > > An alternative would to switch line break mode via a pragma at the top of > a tiddler, something like this: > > \define tw-single-line-breaks() ignore >
My response post has been deleted somehow. It was similar to: I think "\define tw-single-line-breaks() ignore" will break, because it can be used in a template eg: myTemplate SomeTiddler.text may be transcluded using myTemplate -> rendering OK. If you copy paste SomeTiddler.text or SomeTiddler is included to a different space, that doesn't know myTemplate -> rendering will be broken. IMO there is allready a wrapper for this. $$$.type-that-does-break-lines $$$ If text like this one is copied to an other space, that doesn't know how to handle it it uses "plain text" rendering, which is the right fallback here. ---- On the other hand I prefer GFM: http://github.github.com/github-flavored-markdown/ Since TW syntax isn't compatible with markdown anyway. At the moment, I'd vote for GFM like linebreak handling. -m -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
