-
Notifications
You must be signed in to change notification settings - Fork 28.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test: notebook renderer starter #96302
Comments
|
Considering this is still under development and the shape is not finalized yet, I'm going to use this comment for issues I ran into and my thoughts around it. We can create tracking issues for them later on.
Bugs
|
Do you mean debug it from within VS Code? |
@connor4312 right, setting breakpoints in VS Code directly. In overall the starter kit is really helpful. I built a xterm renderer with ease. Good work! |
@rebornix |
@DonJayamanne I'm not super familiar with your existing setup, but as far as using React -- I actually use Preact in my experimental profiler notebooks, which I idealized into the renderer starter 🙂 The starter has a "render" function here: https://github.com/microsoft/vscode-notebook-renderer-starter/blob/a318bba5d08b91e33ceafbe593b1f1953a890ae6/src/client/render.ts#L11 To render my Preact component, I call Preact's
|
Refs: #95989
Complexity: 4
Project: create a new render for the Github issue notebooks.
Install the [Github issue notebooks](https://github.com/microsoft/vscode-github-issue-notebooks extension
Clone the notebook-renderer-starter
Change it from rendering the
application/json
mime type tox-application/github-issues
mime type. (find-and-replace works;yo code
will do this for the user automatically, once released)Develop the extension. Create or open a github issue notebook, render a code cell, and use the
</>
to select your renderer for the output.Out of the box you'll get one big blob of text. Iterate and develop to make it beautiful!
The goal of this test item is to discover points of friction or ambiguity in the development of renderers. Please open issues if you run into problems, questions, or have ideas to make life easier for renderer development.
The text was updated successfully, but these errors were encountered: