Closed waldyrious closed 1 year ago
I wouldn't pull in an additional dependency for something that doesn't benefit users at all.
Right. This could be justifiable if the entire code was in the index file (the benefit would be to potential contributors rather than to users), but now that it's been split to separate CSS and JS files (#9), there isn't much going for it indeed, especially when considering the downside of adding another abstraction layer, more complexity to the architecture, and a third dependency (besides Pyodide and docutils). I'll close this.
Pyscript provides a
<py-script>
HTML element that could make the code a little more readable. It relies on Pyodide underneath, so no functionality would be lost.