iodide-project / iodide

Literate scientific computing and communication for the web
Mozilla Public License 2.0
1.49k stars 142 forks source link

Provide a nice way to share data with markdown ("%% md") too without direct manipulation of the DOM #1924

Open ezzaouia opened 5 years ago

ezzaouia commented 5 years ago

As discussed in gitter, It would be nice to have a nice way to share data with markdown ("%% md") too without direct manipulation of the DOM.

Even better with some directives to bind data to the DOM, and manipulate it too. If I'm thinking, something like angular/vuejs; if, for, show, hide .. etc.

wlach commented 5 years ago

The motivation for this came from wanting to render some pandas-generated html inside a markdown report (which I'd done previously in this report by using js). Some kind of syntax like this would be ideal:

%% md

This is a table:

${table_html}