Hi Matabele

>
> 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
>
> In the second case, it appears to be extra trailing </dl> tags that cause
> the spurious blank lines.
>

The HTML generated for the wikitext you've given is actually:

<dl><dd>some text<dl><dd>some text<dl><dd>some
text</dd></dl></dd></dl></dd></dl>

I'd recommend using the browser "inspect element" menu item to inspect the
HTML that TiddlyWiki is generating.


> 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:
>

One issue is that the DL tag isn't designed for creating indents; HTML5
tries to map semantic meaning to tags. If you want an entirely visual
effect such as an indent, that has no semantic meaning, then it should be
done by styling a DIV tag.

http://css.dzone.com/news/rethinking-dl-dd-and-dt-html5

Best wishes

Jeremy


>
> Some text
> - some text
> - some text
> -- some text
>
> -- rendered as:
>
> Some text
>      some text
>      some text
>           some text
>
> This might also be used in cases such as:
>
> - THE first line of this paragraph is indented
>
> regards
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to