Skip to content

Notebook custom renderers are not very discoverable if multiple exist #148724

@pwang347

Description

@pwang347

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.67.0-insider
  • OS Version: Windows 10

Steps to Reproduce:

  1. Author a new VS Code Notebook Renderer using the official guide
  2. According to the description here, it should be possible to override MIME types with built-in renderers, e.g.:

An extension may optionally choose to render "simple" Rich Outputs itself, for instance to add LaTeX support to Markdown outputs.

  1. I tried to create a renderer replacing the text/html renderer, but didn't realize it was buried under the following UI interface:
    image
    image

For the output renderer I am authoring, I am mainly looking to augment the existing HTML renderer (ie. add a button above the existing output) so it wouldn't make sense to have users manually select it as a renderer option. Would it be possible to either make the renderer more discoverable or add some API to allow for the scenario I'm describing where it's mostly an augmentation and therefore should be shown by default?

Thanks!

Metadata

Metadata

Labels

insiders-releasedPatch has been released in VS Code Insidersnotebook-outputunder-discussionIssue is under discussion for relevance, priority, approachverification-neededVerification of issue is requested

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions