-
Notifications
You must be signed in to change notification settings - Fork 13
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
Separate existing plugins into sub-packages #40
Comments
Yeah not scared of multiple conda packages, especially if they are all
versioned together (which I recommend).
It would be key, however to have a few "presets," e.g. "everything that
works on hackmd/hedgedoc without a rendering server" so that one doesn't
have to go shopping.
The existing issue (number escapes me) about documenting which plugins are
actually _used_ is probably a hard blocker on this. In a notebook, I see
that as metadata. In a document... I guess an html comment? You'd then need
some way to see in UI that you are missing stuff.
Though probably a separate issue, as we break stuff up, in-UI discoverable,
per-plugin syntax documentation and examples will become even more
important... and eventually some kind of language server.
Those two features probably warrant a single notebook/editor toolbar button
that opens a menu listing all the plugins.
|
Yes, this is certainly part of a bigger question. My thought is that this is something we stick in the notebook metadata, under some key for ---
markdown-it-plugins:
- anchor
--- This would probably want us to use the |
I've given this more thought recently w.r.t jupyter-book/jupyterlab-myst#38 Right now we enshrine a random subset of Markdown-it plugins as "core", when in reality there's no strong motivation for this. I think long-term we should use the extras mechanism for this instead. |
also happy to give the lerna-fication of this a go in a PR. for big monorepos with demos + docs (#65), i've often ended up adding a top-level |
@bollwyvl you're currently the maintainer of conda-forge for this extension, so you're a stakeholder here!
I realised that I had included a markdown-it dependencies that were ultimately not used, and when I went to add a plugin to support it, I realised that we're growing the size of this extension according to my interests.
I think it would be better to keep only a core number of plugins, e.g.
anchor.ts
and move everything else into a separate
jupyterlab-markup-XXX
npm, PyPI & conda-forge packages.This would be a bit more work, is it something you'd be able to help with on the conda side?
The text was updated successfully, but these errors were encountered: