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

Fix rich rendering of panels #362

Merged
merged 3 commits into from
Dec 25, 2023
Merged

Conversation

Carreau
Copy link
Member

@Carreau Carreau commented Dec 24, 2023

We use a table with a single column, single header and/or single row that contain the renderables.

The border color as well as the icon in title depends on the kind of admonition (maybe we want to limit the kind of admonitions.

We cannot render only a header, so when the directive has no content, we render only the body.

@Carreau Carreau requested a review from melissawm December 24, 2023 09:34
We use a table with a single column, single header and/or single row that
contain the renderables.

The border color as well as the icon in title depends on the kind of
admonition (maybe we want to limit the kind of admonitions.

We cannot render only a header, so when the directive has no content, we
render only the body.
@Carreau Carreau force-pushed the fix-rich-admonitions branch from b3cd6b4 to d3936c9 Compare December 24, 2023 16:31
@Carreau Carreau merged commit 9995fee into jupyter:main Dec 25, 2023
11 of 12 checks passed
@Carreau Carreau deleted the fix-rich-admonitions branch December 25, 2023 11:08
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.

1 participant