I think it would be feasible to have some kind of hidden setting for 
customising the criteria of what constitutes a system tiddler, and it could be 
pretty useful in some situations. For example, the $:/ sequence is awkward to 
type, kind of intentionally as it’s supposed to act like a big, obvious label. 
But one could imagine that if one were working with lots of custom transclusion 
templates that it would be convenient to add, say, a dash as an alternative 
system tiddler prefix. Then one could write things like 
{{$:/core/images/down-arrow||-big}} instead of 
{{$:/core/images/down-arrow||$:/big}}

There is a single point in the JS code where we perform the system tiddler 
check:

exports.isSystemTiddler = function(title) {
        return title && title.indexOf("$:/") === 0;
};

https://github.com/Jermolene/TiddlyWiki5/blob/12f18474755c94362eef7191eafb532bafb743b1/core/modules/wiki.js#L206-L208
 
<https://github.com/Jermolene/TiddlyWiki5/blob/12f18474755c94362eef7191eafb532bafb743b1/core/modules/wiki.js#L206-L208>

Best wishes

Jeremy.


> On 29 Jan 2021, at 22:51, amreus <[email protected]> wrote:
> 
> 
> Can we define an alternative or additional string that is treated similar to 
> a "system" prefix?
> 
> For example, I'd like to start tiddler titles with a '/' and have them hidden 
> by default and from lists and search like a system tiddler, but also keep 
> them separate from the official system hierarchy.  Also, the "[is[system]]" 
> filter would not see titles with this prefix.
> 
> I know this is possible, but it would require modifying a number of system 
> tiddlers.  A setting to define such a prefix would be cool.
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/16123d35-5ce3-49d8-9063-4ea93fc5bccan%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/16123d35-5ce3-49d8-9063-4ea93fc5bccan%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/F8340B58-EC8C-4C4F-A82C-1E8FD0D2F22A%40gmail.com.

Reply via email to