jupyter / papyri

MIT License
84 stars 17 forks source link

Try to have custom renderer with myst. #314

Closed Carreau closed 10 months ago

Carreau commented 11 months ago

One thing I'd like to do is do the full rendering with myst.js,

this will make it much more easier to make a jupyterLab extension as once we have a JS renderer, we can "just" make a JupyterLab extension that use the same components.

I dont' know much about how to do that, but here is an attempt that try to do it:

As I don't know how to not have it have a hash, this adds new handlers that try to guess the name of the file and serve it.

This let you in a template to call render(dom-id, json), and ti wil use myst to render that on the given node.

The idea is to give myst the root node, but that does not work so far as some of our nodes are not the same.

we can go two routes (or a mix of both):

rowanc1 commented 10 months ago

Let me know if you would like to have a quick meeting next week on this? I will try to take a quick look through in the next week and give some tips.

Carreau commented 10 months ago

Sure I would be happy to meet, let me shoot you an email to coordinate.

Carreau commented 10 months ago

scipy.signal._filter_design:zpk2sos seem to contain raw directives: With ``pairing='nearest'`` (the default), we obtain

Carreau commented 10 months ago

xarray.core._typed_ops:VariableOpsMixin.conj have a "to-resolve" link.

Carreau commented 10 months ago

Ok, let's get that in, it's starting to be unwildy after a month of work.