Skip to content
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

Interactive Code Block: Extensibility #54

Open
adamziel opened this issue May 4, 2023 · 0 comments
Open

Interactive Code Block: Extensibility #54

adamziel opened this issue May 4, 2023 · 0 comments
Labels

Comments

@adamziel
Copy link
Collaborator

adamziel commented May 4, 2023

Description

Let's enable extending the interactive code block with predefined:

  • Libraries
  • Execution scripts
  • Output formatters

I put a "SQLite Battery" in a separate repo to illustrate what I mean here.

Rationale

I had to ship a custom output formatter called Tabular SQL queries in WordPress/wordpress-playground#168 to support the following post about SQLite integration for WordPress:

CleanShot 2023-05-04 at 16 01 16@2x

I expect to need more of these and I'd rather not pollute the core repository with one-off utilities for very specific posts.

Done is

I can add a targeted set of libraries, execution scripts, and output formatters via wp-admin.

@adamziel adamziel added the Enhancement New feature or request label May 4, 2023
@adamziel adamziel transferred this issue from WordPress/wordpress-playground Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant