List not working anymore when I enter // into the text

48 views
Skip to first unread message

heusmich

unread,
Sep 22, 2021, 5:32:53 PM9/22/21
to TiddlyWiki
Hi @all,

I´m currently creating a guideline with the help of the list function in a tiddler. That means I use this formatting:

* Item 1
** Subitem 1
** Subitem 2
* Item 2
* Item 3
...

Now I want to enter a path to start a steam game as an example (for example the path steam://rungameid/251570). But when I enter this into the text, the list function is not working anymore. This means that all list items above of this link are working but after the link they are all written as text in italic and I can´t see the dots of the list.
I found out that the two // are the problem. When I remove one of them, the list is working again.
So my question is, can I prevent somehow that the two // are deactivating the list function and creating an italic text? A link to a website (https://...) can be entered everywhere in the text without any problems...

Best regards
heusmich

Soren Bjornstad

unread,
Sep 22, 2021, 5:50:20 PM9/22/21
to TiddlyWiki
The immediate solution is to use ext for your Steam link:

[ext[steam://rungameid/251570]]

This syntax is described in Linking in WikiText.

If you didn't want a link, another solution would be to use `single backticks` around the text containing the //.

This problem actually doesn't have anything to do with the fact that you're writing a list. //, outside of a few situations where TiddlyWiki recognizes a URL (the steam: protocol is evidently not one of them) starts italics, as you've found. Italics are an inline-mode element (that is, they can't continue across multiple paragraphs, list items, and so on). With an inline-mode element open, other block-level formatting (list, code block, paragraph, etc.) is suspended until the italics are closed. See Block Mode and Inline Mode for details on this.

Charlie Veniot

unread,
Sep 22, 2021, 9:29:25 PM9/22/21
to TiddlyWiki
G'day heusmich,

Just a few "//" options.  For the giggles, download attached and drag into TiddlyWiki.com (or any wiki) for import of sample tiddler.

Cheers !

A Few SlashSlash Options.json

CJ Veniot

unread,
Sep 22, 2021, 9:46:50 PM9/22/21
to tiddl...@googlegroups.com
Oops.  By any wiki, I do mean any "TiddlyWiki".

What can I say, I like TiddlyWiki so much, I forget about the other ones ...

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/8GJDVwc7wBA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0d7a95e2-5e8f-4cf4-8324-83e160423225n%40googlegroups.com.

PMario

unread,
Sep 23, 2021, 5:54:43 AM9/23/21
to TiddlyWiki
Hi,

Try this

\rules except italic

* https://example.com

The \rules except italic will disable the wikitext to render //italic// text for that tiddler. But it will allow you to easily work with URL paths

-mario

heusmich

unread,
Sep 23, 2021, 4:35:30 PM9/23/21
to TiddlyWiki
Thank you all for your responses, now it´s working!

Best regards
heusmich
Reply all
Reply to author
Forward
0 new messages