Hi all,

What would be the best way to capture the "<div>" with class
"text_cell_render" or "output_subarea" after cell execution to inject
some code?

For instance, if I have a markdown cell with code "Hi" I can see in
the browser inspector the following:

<div class="text_cell_render rendered_html" tabindex="-1"><p>Hi.</p></div>

I would like to capture the inner HTML ("<p>Hi.</p>") and return a
modified version automatically after the user executes the cell.

I can see that there are JS methods like .html() (somewhere in
outputArea) that could help me on this but I wonder if maybe there are
more direct and canonical ways to do so.

Thanks in advance.

Best.

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAB-sx61HpMU_OUGY1m1isdb7zhs9N%2Ban%2BHQ0RQwBpo%3DgwdJTCg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to