On Sunday, November 15, 2020 at 5:49:47 AM UTC-8 [email protected] wrote: > Thanks, that works. I added the *<div style="..."></div>* line directly > to *$:/core/macros/list*, whose first code block now begins like this (if > it matters, the version is 5.1.23-prerelease): > ... > But is it bad practice to directly edit a core Tiddler like this macro, and > not indicate anywhere in my wiki that I've done so? > Or is this fine, supposing that I remember to take this edit into account > when updating the version of my wiki? >
In general, it is considered bad practice to modify core tiddlers for two reasons: 1. When updating the version of your wiki, the modified core tiddler won't be updated unless, as you noted, you remember it's been modified and then manually update it yourself. 2. If you share any of your content with someone else, their wiki won't have the same modified core tiddler, unless you also remember to share that tiddler too; and then, it may have an unwanted side-effect on other content in the receiving wiki. Instead, I suggest cloning the core tiddler -- e.g., to $:/teo/macros/list -- and then rename the cloned macro -- e.g. \define teo-list-links() In this way, you don't have to worry about updates or side-effects when sharing. -e -- 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/7de7aae1-e81a-4707-9e88-e56de6a7761cn%40googlegroups.com.

