Qiskit / qiskit.org

The Qiskit official website
https://qiskit.org
Apache License 2.0
102 stars 108 forks source link

Assess the difficulty of consuming Jupyter Notebook format as the source for Mathigon content. #931

Closed delapuente closed 4 years ago

delapuente commented 4 years ago

Part of Qiskit/qiskit.org#782

Explore the official or unofficial ways of converting formats different from Markdown into Mathigon content. If there is no official way to do it, think of an extension mechanism enabling us to consume Jupyter Notebook and other formats in a scalable way.

vabarbosa commented 4 years ago

an approach for consuming Jupyter notebooks in Mathigon includes:

this process works for a basic notebook without too much effort, but when thinking about support for widgets and incorporating Mathigon's custom markdown a notebook may need to include either or both

this process could be leveraged to convert existing notebooks to Mathigon markdown, however, using the notebook as a format of choice for Mathigon does add additional work. updates such as creating new widgets will require work in Mathigon (to define/add new widget) and also in the custom exporter and/or notebook to properly handle the widget syntax.