Tiddlywiki 5 saving

185 views
Skip to first unread message

Daniel Lawson

unread,
Jun 4, 2015, 6:03:37 AM6/4/15
to tiddl...@googlegroups.com
Hi All,
I am using the new tiddlywiki on chrome windows 7 

When listing products ie

[[A]]
[[b]]
[[c]]
[[d]]

the text all forms on the same line despite there being carriage returns.  
when you save the changes and view the tiddler it is displayed "a b c d"

Whereas on the tiddly classic it would show

a
b
c
d

Any ideas? also can you have the side menu on as in classic or is this feature removed? 
Thank you
Dan

Mark S.

unread,
Jun 4, 2015, 11:16:12 AM6/4/15
to tiddl...@googlegroups.com
There are several ways in which TW5 seems to be a step down from TWC. This is one of them.

For your list, there are several work arounds.

You could put each item in a bullet:

  * a
  * b

You could put each item in a quote

  > a
  > b

You could switch the entire tiddler to classic format using the drop down on the lower right of your tiddler.

You could put a break after each entry:

  a<br/>
  b<br/>

Finally, you could put the entire text inside triple quotes:

"""
a
b
"""

This last one is the one I use most.

Eric Shulman

unread,
Jun 4, 2015, 1:54:39 PM6/4/15
to tiddl...@googlegroups.com
On Thursday, June 4, 2015 at 3:03:37 AM UTC-7, Daniel Lawson wrote:
...the text all forms on the same line despite there being carriage returns.  

TiddlyWiki Classic treated all newlines as literal characters and converted them to <br> for rendering.  While this produced a more WYSIWYG-like handling (e.g. one carriage return in the tiddler source equals one newline in the rendered output), it did not permit proper use of CSS for paragraph styling, since there weren't any <p> elements being generated.

The correct handling is to recognize double carriage returns as paragraph breaks and wrap the entire preceding block of text within <p>...</p>.  The handling of newlines *within* that block of text then follows the usual HTML standard that carriage returns are simply white-space word separators, not literal newlines.  This is also a common convention for handling carriage returns in other "simplified" formatting languages, such as Markdown (http://en.wikipedia.org/wiki/Markdown).

While this handling is different from TWClassic, it is *much* more consistent with other commonly-used format languages, and thus makes it much easier to move data between TiddlyWiki5 and other applications.
 
also can you have the side menu on as in classic or is this feature removed? Thank you

By default, TiddlyWiki5 only has two "columns": The StoryRiver on the left (to show your tiddlers), and The Sidebar on the right (to manage your document).

It *is* possible to add a "side menu" on the left, but it's not a built-in option like the "MainMenu" from TWClassic.  In addition to defining the MainMenu content tiddler itself, you need to tag it with "$:/tags/PageTemplate" so it will appear in your page.  You will then need to fiddle about with the CSS definitions, so that the new "side menu" appears in the desired location, and the StoryRiver margins (.tc-story-river) are adjusted to leave space on the left (so it doesn't overlap the side menu).

Several people in this group have put together customized TiddlyWiki documents that include alternative side/top menus.  I suggest you take a look at those variations.  You might find what you want has already been done, or at least, they should give you some clues as to how to customize your own document.

enjoy,
-e
Eric Shulman
ELS Design Studios
TiddlyTools - "Small Tools for Big Ideas!"
InsideTiddlyWiki: The Missing Manuals

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
Message has been deleted

RichardWilliamSmith

unread,
Jun 4, 2015, 7:28:52 PM6/4/15
to tiddl...@googlegroups.com
Then use the old one.

Daniel Lawson

unread,
Jun 5, 2015, 5:36:16 AM6/5/15
to tiddl...@googlegroups.com
Thanks all, very interesting, I feel the older one may suit my requirements better then, despite the new one looking very modern and swish!

On Friday, June 5, 2015 at 12:28:52 AM UTC+1, RichardWilliamSmith wrote:
Then use the old one.

BJ

unread,
Jun 5, 2015, 10:07:51 AM6/5/15
to tiddl...@googlegroups.com
It is possible to use the old style wiki text in tw5 via the TW classic wiki text plugin
 http://tiddlywiki.com/plugins/tiddlywiki/tw2parser/
cheers

BJ
Reply all
Reply to author
Forward
0 new messages