I'm using Flask to host a UI for a single user. Something I've been trying to do is setup a way for user to click a button that inserts some text and images in a pre-specified place in a document using markup language. I originally used Jinja2 for this but the issue is the user needs to be able to modify the document after the data is inserted in case they need to make small changes to the text or add a line etc... which to my knowledge can't be done with a flask-rendered template.
I understand it is possible to bring a Jupyter Notebook (Which is based on markup language) into the UI using an iframe but I haven't had success in doing that.
What I've tried:
- Configuring my Jupyter notebook to be public
- Placing an Iframe with my public Jupyter address
<iframe width="400" height="400" src="http://10.33.75.112:8888/notebooks/Desktop/Tool/test.ipynb"/>
into my HTML template file... which brings up a blank Iframe that I can't interact with - Messed around with NBviewer and NBconvert to see if there was some way I could integrate that but haven't had any success.
Ideas?