Folks,
It is possible to add arbitrary attributes (and tags) in html such as on a html <a
record we may add browser={{$:/info/browser/name}}
or browser=Firefox
.
- I understand we can use this to target CSS
- perhaps we can parse the html as text to extract
prefix[browser=]
gettingbrowser=Firefox
orbrowser="Firefox"
Or is there another way we could access a value of a named attribute to set a tiddlywiki variable, or make use of it?
Why;
- I am working on an alternative link capture to the permalink to support the use of multiple wikis and it would be nice to include a browser attribute so I know in which browser to use it.
- I expect there could be other uses for this, to slip attribute=value pairs into html that tiddlywiki can make use of.