The Observable Inspector is a terrible choice to traverse a DOM tree.
To view any element’s markup, right-click it and select Inspect:
In the Elements panel of your browser’s Developer Tools you can right-click the element and select Copy > Copy outerHTML:
I copied the outerHTML as described above, then cleaned it up by hand.
By the way, have you ever wondered how Observable decides when to display an element, and when to inspect it?
As it turns out, the Inspector will check the element’s .parentNode
property. If the element is already attached to another element the Inspector kicks in.