Replies: 1 comment 4 replies
-
The kernel itself doesn't know anything about the file or the UI, so the answer to your question would be in the VS Code APIs (if you're using .NET Interactive via the notebooks extension) or in the various Jupyter frontend APIs (e.g. Jupyter Lab extensions). For this reason, accessing these from code within a notebook cell would be highly specific to the specific frontend. The contents of cell abouts are a little more accessible via HTML, CSS, and JavaScript, though. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Which is the .NET object(s) to use to access the Cell object ? Preferably from PowerShell.
( I mean, in run time, not reading the static *.ipynb file and converting to Json, as @dfinke is doing in his fantastic module.)
Specifically, I need to get/set the cell WIDTH, clearing all output, changing colors (everything we had in $HOST.ui...),
and also minimizing (collapsing) a cell, enumerating them...
Any link to the documentation will be enough; a short one-liner example also welcome.
TIA,
jc
Beta Was this translation helpful? Give feedback.
All reactions