Hi Tones

> Can you document how we make use of this information to add additional 
> "system tiddler" prefixes?

It isn't yet possible to add additional system tiddler prefixes, we're just 
discussing whether it's worth introducing it as a feature.

> I have wanted to do this for some time and could use the "(" prefix, to name 
> template tiddlers eg; (print-view) (table-row) 

Yes, I can imagine that might be a popular prefix if the feature were added.

Best wishes

Jeremy.

> 
> Regards
> Tones
> 
>> On Monday, 1 February 2021 at 21:14:26 UTC+11 [email protected] wrote:
>> 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
>> 
>> 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].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/16123d35-5ce3-49d8-9063-4ea93fc5bccan%40googlegroups.com.
>> 
> 
> -- 
> 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/6e4726cb-d5a5-408c-bf80-126b1a3a2484n%40googlegroups.com.

-- 
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/C72725A2-142C-47CA-85FC-82C6EF962FE2%40gmail.com.

Reply via email to