Progress. The upcoming Asteracea mdBook now executes components examples during build and embeds the resulting static HTML in a new code block.
The input is at https://github.com/Tamschi/Asteracea/blob/3165940ffd24dc88c16aa454e716216ae0e95446/book/src/chapter_1.md , with setup code nearby.