Theme component order of precedence

Thanks so much for detailed pointers! Given my related issues with the TOC component (which you also replied to - thank you again) I’ve forked TOC and moved the dependent code into that component. This is related to the heading IDs - specifically the need to control the from the post to handle duplicates and collisions with core element IDs.

I think given what I’m doing with docs, some of which is a bit off the reservation, I think that’s the right approach.