Hi, I want to know why if the JS code written between
script tags, like
style tags, doesn’t run in the HTML render of the pads. I am interested in using HedgeDoc similar than Jupyter Notebook. I made some tests and the JS didn’t run so I made another very very messy test to at least show what I am looking for:
- This is the sample: https://pad.programando.li/ytPZLBk2SHyQCFrWgIlowA
- I have to use a codepen to run the JS code, the snippet is here: https:// codepen .io/NikaZhenya/pen/NWbZzjQ
- The only way to incorporate it in a publish pad view it is with an iframe: https://pad.programando.li/4iE-3jn7QLuOmEAn-EEiQg
What I am looking for is to skip 2 and 3 being the same pad of 1: I edit and write some JS, in the publish view I can execute the code (with a play btn or automatically when there is some kind of focus).
Any thoughts of feedback?