Is there a common consensus or even a standard for this in the TiddlyWiki ecosystem? If my question sounds weird - it’s dictated by my rusty (pardon the pun!) Python reflexes.
Four is a good start, because it often aligns with <$xx above, however I think the rule if there was one is readablity. There are structures including logical or nested structures where more or less spaces or tab equivalents make the code more readable. Such spaces are usualy only visible in the source editor, not in the output which means by definition their main purpose is supporting code readability, along with blank lines etc…