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

missing support for ```{div} directive #200

Closed
parmentelat opened this issue Feb 1, 2024 · 5 comments
Closed

missing support for ```{div} directive #200

parmentelat opened this issue Feb 1, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@parmentelat
Copy link

using a {div} directive like so in a jupyterlab notebook
image

results in an output like this
image

Description

as far as I understand this is a chunk of legal MyST; at least the same code processed through jupyter-book results in a readable HTML output

Proposed solution

my understanding, from this comment below, is that not much is needed to make this widely available, am I correct ?
jupyter-book/jupyter-book#1928 (comment)

Additional notes

if so a public release of this feature would be much appreciated :)

@parmentelat parmentelat added the bug Something isn't working label Feb 1, 2024
@rowanc1
Copy link
Collaborator

rowanc1 commented Feb 1, 2024

Thanks @parmentelat, underlying tracking issue is here:
jupyter-book/mystmd#749

We have thus far implemented in AST, not yet the directive. Happy to take a PR or pointers to the docs/test cases on what the options to the directives should be!

@agoose77
Copy link
Collaborator

I'm closing this as it's an upstream feature request! :)

@rowanc1
Copy link
Collaborator

rowanc1 commented Apr 19, 2024

Added in:

@rowanc1
Copy link
Collaborator

rowanc1 commented Apr 24, 2024

This is released in jupyterlab-myst 2.4.0!

@parmentelat
Copy link
Author

thank you !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants