AndyS
No worries Andy.
I think I understand what you're intending to achieve.
Although, that said, I currently haven't found any potential solutions. (*but I'll keep an eye out still.)
Regarding the query on reference documentation and such.
A lot of stuff I've randomly found sprinkled/buried around this forum, as there are plenty of awesome Flarum community members who've generously provided effective codes other the years.
W3Schools website can be pretty helpful too.
🤓👍W3Schools
Yet in all honesty, and admittedly, I seem to find significant difficulty comprehending any computer coding documentation in general.
It just goes 'in one ear & out the other' as they say.
Ie: I can read the presented material, but it largely just doesn't make any sense to my mind.
Whereas instead I find by practically applying codes and directly seeing the results-(😅which are often variably disastrous)-somehow my mind usually then begins to form a degree of general comprehension as to the "nature" of the practically applied codes.
From that point I more or less continue arbitrarily altering/or adding those codes with others and repeating the practical application trials....😄to see what happens.
In case you were interested. I've started gathering all the codes that worked for me into free public resource threads over at Λsylum