Skip to content

Allow additional plugin examples to be registered #50

Description

@bollwyvl

Problem

Some extensions are themselves extensible (e.g. jupyterlab-markup, jupyterlab-lsp), and might like to advertise this in a more declarative way, especially in documentation/demo settings (e.g. #16).

Proposed Solution

Offer a new launcher card per template.

Extend the public api proposed on #49 to allow registering new plugin templates, with a few options including a documentation markdown file.

Additional context

Types

export interface IPluginExample {
  title: string;
  description: string;
  src: () => Promise<string>;
  doc?: () => Promise<string>;
  icon?: LabIcon;
  filename?: str;
}
export interface IPluginPlayground {
  addExample(example: IPluginExample): void;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions