[tw5] Quick inclusion of TiddlyWiki.com documentation in your TiddlyWiki

Just because I prefer transclusion to macros:

Create a template tiddler (say “tTwDoc”) with the following content:

<$list filter="[<currentTiddler>!match[tTwDoc]]">
<iframe src={{{ [<currentTiddler>encodeuri[]addprefix[https://tiddlywiki.com/static/]search-replace:g[%20],[%2520]addsuffix[.html]] }}} width=100% height=300px/>
</$list>

(I don’t know enough about encodeuri and why it wasn’t enough, requiring me to replace any occurence of %20 with %2520.)

In whatever other tiddler, enter the following:

{{Tables in WikiText||tTwDoc}}

1 Like

For anybody wanting to geek out a little, I think the explanation is in this article: url - A html space is showing as %2520 instead of %20 - Stack Overflow

I’m thinking however the URL’s for the TiddlyWiki.com static pages are generated, they are being generated with “double-encoding”? i.e. the %20, the encoding for a space, is getting encoding again, turning the % in %20 to %25.