-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 wildcards in image names. #7122
Labels
Comments
mforbes
added
enhancement
status:Needs Triage
Applied to issues that need triage
labels
Oct 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Jupyter Book supports multiple image formats by allowing a wildcard in the filename
fig.*
which will choose from the best appropriate available image on disk.Proposed Solution
It would be very nice if Jupyter notebooks could support this feature as well. I.e., given files like
fig.png
,fig.svg
, andfig.pdf
on disk, the following would render:etc. In the browser these would render
fig.svg
(probably the best? If not,fig.png
) while converting to LaTeX should issue code like\includegraphics{fig}
which allows LaTeX to pick thefig.pdf
version.Additional context
Inspired by CoCalc Issue #6997 which would provide a way to use their Whiteboard to generate and edit such figures.
The text was updated successfully, but these errors were encountered: