This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

Concatenating a text reference to create a URL

21st October 2025 at 2:27pm

Concatenating variables and a text reference to create a URL

<$let hash={{{ [<currentTiddler>encodeuricomponent[]] }}}>
<a href=`${ [{!!base-url}] }$#$(hash)$`>this tiddler on tiddlywiki.com</a>
</$let>

That renders as:

this tiddler on tiddlywiki.com

... and the underlying HTML is:

<p>
<a href="#Concatenating%20a%20text%20reference%20to%20create%20a%20URL">this tiddler on tiddlywiki.com</a>
</p>

See: Substituted Attribute Values