--
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 tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
I can see how for some people styling TwClassics system could be tricky... I've never had any issue with it myself though.
I suppose one reason for that is that I like all text to look a standard per element unless I want a small part to be different, and wrapping blocks of text in a span class allowed me to do everything I've ever wanted.The new system is something I'll have to keep in mind though since I do a lot of scratch and quick note style typing that requires a lot of proper line breaks, I think it'll be best for my sanity and fingers for me to go ahead and bow out of the TW5 game for the foreseeable future.
Hi ArcI can see how for some people styling TwClassics system could be tricky... I've never had any issue with it myself though.
Supporting Markdown's rule of forcing a line break with two spaces at the end of the line would be straightforward but I'm concerned that those spaces will be annoyingly invisible when using the browser textarea control to edit text. So it might be useful to add a more explicit syntax for line breaks. One possibility is double backslash at the end of a line:
FWIW, this is a well-known issue:
While Markdown encourages[1] the use of line breaks to format (only) the
source, GFM[2] argues that line breaks in the source should translate to
line breaks in the output.
Personally, I *strongly* prefer the former. However, I understand that
in certain contexts, the latter can be preferable.
Would it be possible for TW5 to support both variants - with the
renderer being determined by the respective tiddler's content type?
--
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 tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
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
It seems the br & p topic is much more heated than I would have imagined.
Since it dose seem like people are on one side or the other, maybe the simplest option would be to make it a site wide option that can be set in the ControlPanel?◎ Classic Mode [All linebreaks are created as br tags no p tags are generated]◎ MarkDown - Standard Mode [p tags are created on double line breaks, br tags are made with double space + linebreak at the end of a sentence]◎ MarkDown Mode + Creole linebreaks [p tags are created on double line breaks, br tags are made where \\ are]◎ MarkDown - No linebreak Mode [linebreaks are only made when you use a br tag]
I do have one question though.I assume it most not be easily possible but it seems like the ideal option would be to have things like this:Single line-breaks = brDouble line-breaks = pif you wanted more than one br you would simply add a space:
[line-break][space][line-break]
this of course relies on something I've yet to ever figure out... Why do we need a system that ignores single line breaks?
If you want paragraph that don't have line-breaks than the answer seems to be to be simply not use line-breaks.
Last time I checked periods don't make line-breaks the line-break character makes line-breaks.The only time where single line-breaks create a mess is for styling and other special cases:@@background:red;text block1text block2@@which is where you really need a special system to null out a line-break like like adding ^^ or // or ++ or &&@@background:red;^^text block1text block2@@^^To me it seems like the need to remove single-line-breaks are the special case rather than the other way around.
-----
As for the other
I did notice that spans where created for single-line inline which is nice in some case but in many cases at least for me I need spans to wrap around a larger block of content.Simple example:@@background-color:red;display:inline-block;texttexttext@@This of course gives p styles so isn't what we want.<p style="background-color:red;display:inline-block;">text</p>
<p style="background-color:red;display:inline-block;">text</p>
<p style="background-color:red;display:inline-block;">text </p>
So how about the inline for the span?@@background-color:red;display:inline-block;texttexttext@@
Gives us a span output but nulls out all our <p>'s and with no <br />'s we loss all notions of white space.<p>
<span class="tw-inline-style" style="background-color:red;display:inline-block;">text text text </span>
</p>All and all very different than what I would have actually wanted:<span style="background-color: red; display: inline-block;"><p>text</p><p>text</p><p>text</p></span>
So I do very much think it's a needed component, to have a unique span system that properly wraps around multi-lined content.I may be biased to making transition easier for people who already use Classic TiddilyWiki but it doesn't seem like the{{Class{Content}}}is being used by anything else in the new system, and logically makes sense simply to carry it over as the syntax given that any other real variation ((Class(Content))) is simply aesthetics and in the long run only forces people who use both TW5 and Classic to remember an odd difference, with no true benefits.
--
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 tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywikidev.
We do need a way of marking up sections of text that has explicit linebreaks (eg poetry), but otherwise, yes, I'm finding content creation much easier for TW5.Best wishes
Jeremy