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

📒 Allow executable code/output to be inside a figure #272

Merged
merged 1 commit into from
Nov 18, 2023

Conversation

fwkoch
Copy link
Contributor

@fwkoch fwkoch commented Nov 17, 2023

This PR consolidates the logic for finding code/output cells in a block. It also reduces the strictness of this logic:

Previously the only block structure that resolved to executable code/output was:

block
 |- code
 |- output

Now, that structure is still allowed along with:

block
 |- figure
     |- code
     |- output
     |- caption

as added in jupyter-book/mystmd#760

@rowanc1 rowanc1 merged commit de50fde into main Nov 18, 2023
2 checks passed
@rowanc1 rowanc1 deleted the feat/notebook-figure branch November 18, 2023 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants