;
:This is line 1
:This is line 2;Header 1
some text
;Header2
etcThere's a standard how webeditors handle linebreaks.
This could be little pain in the ass. Specially for technical documents. Sometimes you want a line break but not a new paragraph.
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
Yesterday I checked few TWC and they gave me an idea : what about a secondary button that displays a different edit mode? Maybe using a different edit text widget where with a different set of rules.
It's a factual standard established by how the majority of online editors work.
I'm thinking something like a backslash-terminated line.
;Title
:Line1
:Line2
and later
:Another line
:And another:indent
::double indent
:::triple indentSome text
:Line1
:Line2
Some more text
:Line3
:Line4you end the line with two or more spaces, then type return
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
A further thought with respect the perennial question -- would it be possible to modify the colon markup (for definitions) to avoid the spurious line feed?
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
<dd>some text</dd>
<dd><dd>some text</dd></dd>
<dd><dd><dd>some text</dd></dd></dd>:some text
::some text
:::some textSome text
<dd>some text</dd>
<dd><dd>some text</dd></dd>
<dd><dd><dd>some text</dd></dd></dd>
Some text
:some text
::some text
:::some textThe Creole syntax isn't quite what I expected. They use double backslash on their own, so that this example would contain a linebreak:Some\\thingI'd expected the linebreak to be triggered by a double backslash followed by a newline:Some\\thing
Something\\comment
elseI've created a ticket for adding wikicreole line breaks:
In that case, there appears to be a bug -- because:<dd>some text</dd>
<dd><dd>some text</dd></dd>
<dd><dd><dd>some text</dd></dd></dd>
Some text
:some text
::some text;Term
:some text
::some textIt appears that <dd> elements may be used on their own (at least in the text field of TW5.) It is, therefore, unnecessary to add the <dl> tags around <dd> elements.
dt element's end tag may be omitted if the dt element is immediately followed by another dt element or a dd element.dd element's end tag may be omitted if the dd element is immediately followed by another dd element or a dt element, or if there is no more content in the parent element.[…] Unfortunately this doesn't render correctly in TW and I am unable, therefore, to experiment further.
This should be valid syntax which might lead to simplified wikification scheme without the need for the trailing tags that result in spurious blank lines:
<dl><dt> Authors<dd> John<dd> Luke<dt> Editor<dd> Frank</dl>Unfortunately this doesn't render correctly in TW and I am unable, therefore, to experiment further.
Hi Matabele, Stephan
It's not the trailing tags that result in the spurious blank lines. It's the browsers default CSS.
<dl>
<dd>some text</dd>
<dd><dd>some text</dd></dd>
<dd><dd><dd>some text</dd></dd></dd>
</dl>:some text
::some text
:::some textSome text
:some text
:some text
:some text
Some text
:some text
:some text
:some text<dl>
Some text
<dd>some text</dd>
<dd>some text</dd>
<dd>some text</dd>
</dl>
<dl>
Some text
<dd>some text</dd>
<dd>some text</dd>
<dd>some text</dd>
</dl>
Some text
- some text
- some text
-- some text- THE first line of this paragraph is indentedI'm still confused -- why then when I write:<dl>
<dd>some text</dd>
<dd><dd>some text</dd></dd></dl>
<dd><dd><dd>some text</dd></dd></dd>
-- is the output different to::some text
::some text
:::some textIn the second case, it appears to be extra trailing </dl> tags that cause the spurious blank lines.
Perhaps a better approach would be to introduce a completely different form unrelated to the syntax for definition blocks, perhaps making use of a leading 'minus' to indicate an indent:
Some text
- some text
- some text
-- some text-- rendered as:Some textsome textsome textsome textThis might also be used in cases such as:- THE first line of this paragraph is indentedregards
I'm still confused -- why then when I write:<dl>
<dd>some text</dd>
<dd><dd>some text</dd></dd>
<dd><dd><dd>some text</dd></dd></dd>
</dl>-- is the output different to::some text
::some text
:::some text
:some text
::some text
:::some text
<hr/>
<dl>
<dd>some text</dd>
<dd><dd>some text</dd></dd>
<dd><dd><dd>some text</dd></dd></dd>
</dl>