[tw5] Just a reminder: using filters in permalinks

An example that shows all GW-BASIC programs currently existing in BASIC Anywhere Machine:

(The following link fixed as per help from @Brian_Radspinner further below.)

https://basicanywheremachine.neocities.org/BAM_IDE.html#:[tag[.bas]regexp:description[(?i)GW-BASIC]sort[]]

It is a neat way to share the results of a query on a particular TiddlyWiki.

You’ll find the relevant, way too “understated” in my opinion, documentation in the Permalink tiddler, the “Story Permalinks” section.

The link got mangled in Talk TiddlyWiki, so let’s try getting the URL in a code block…

https://basicanywheremachine.neocities.org/BAM_IDE.html#:[tag[.bas]regexp:description[(?i)GW-BASIC]sort[]]

Also, Charlie, that’s awesome.

I don’t recall seeing anyone actually do this before, but it’s a great way to send someone right to a convenient list of tiddlers.

Nice

Yeah, I can’t figure out the code block thing.

Posting in Google Groups, sometimes the triple-tick marks are needed, sometimes the single-tick marks.

It is like a crap-shoot guessing which one is the right one every time.

Yeah, such a handy thing that is seriously under-documented.

Just keep in mind the potential for these kinds of links to suffer from link rot .

Now if one were to include in the link’s filter a “contact me” tiddler should such a link stop working in the future, that would be cool.

Not that I particularly worry much about link rot for my own use cases, which are pretty much just meant for current discussions.

For multi-line code blocks, use tripled tick-marks, on separate lines before and after the code.
For “inline” code, use single tick-marks, immediately before and after the code (on the same line as the code)

Thus:
This line contains inline code content here,
and
The following lines are in a code block:

Lines of code
go here
like this

-e