LineBreakHack for headings and paragraphs

33 views
Skip to first unread message

PMario

unread,
Dec 20, 2009, 3:35:43 PM12/20/09
to TiddlyWiki
Hi,

Some days ago I had to edit / rewrite some "older" tiddlers. Some of
them where really hard to read in edit mode, because of missing white
space between headings and text.

I searched the group and found some hacks, but they didn't fit to my
needs. That's why there is a new LineBreakHack [1] now.

It removes one or many linebreaks after a text paragraph and replaces
it with _one_ <br> linebreak.

It removes a single empty line-break in front of any heading.

Advantage:
*There is enought whitespace in editmode now.
*It works with headings with or without leading linebreaks.
*It doesn't interfere with MainMenu or sidebar (as far as I could see)

Disadvantage:
*If you need extra linebreaks you have to use <br>
*Still some inconsistencies

regards Mario
[1] http://a-pm-experimental.tiddlyspot.com/#LineBreakHack

Reply all
Reply to author
Forward
0 new messages