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

NameError: name 'pymdownx' is not defined in solara.Markdown #617

Closed
egormkn opened this issue Apr 27, 2024 · 1 comment · Fixed by #621
Closed

NameError: name 'pymdownx' is not defined in solara.Markdown #617

egormkn opened this issue Apr 27, 2024 · 1 comment · Fixed by #621

Comments

@egormkn
Copy link

egormkn commented Apr 27, 2024

Hi!

solara.Markdown throws a NameError when pymdownx is not installed. There is a has_pymdownx flag that shows if the extensions library is installed, but it is not used in extension configuration:

"format": pymdownx.superfences.fence_div_format,

It can be fixed by installing the extensions manually:

pip install pymdown-extensions
@iisakkirotko
Copy link
Collaborator

Should work correct in the new solara version!

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 a pull request may close this issue.

2 participants