thebe
thebe copied to clipboard
Support hierarchical selector structure
Following the discussion at https://github.com/executablebooks/sphinx-thebe/issues/2#issuecomment-646096463, I propose to expand selector configuration into selector, selector-code, selector-output, so that sphinx-thebelab doesn't need an extra step of modifying the DOM. This allows for extra flexibility in how thebe works, and can be made backwards compatible if the old non-nested syntax is still supported.