Skip to content

fix: Mermaid and Math rendering in Jupyter Lab and VSCode - #480

Merged
iisakkirotko merged 6 commits into
masterfrom
01-24-fix_Mermaid_and_Math_rendering_in_Jupyter_Lab_and_VSCode
Feb 9, 2024
Merged

iisakkirotko merged 6 commits into
masterfrom
01-24-fix_Mermaid_and_Math_rendering_in_Jupyter_Lab_and_VSCode

Conversation

@iisakkirotko

Copy link
Copy Markdown
Collaborator

Should fix #175, and partially fix #446

iisakkirotko commented Jan 24, 2024 •

Copy link
Copy Markdown
Collaborator Author

@iisakkirotko
iisakkirotko force-pushed the 01-24-fix_Mermaid_and_Math_rendering_in_Jupyter_Lab_and_VSCode branch from a2bc37d to 8d4fe2a Compare January 25, 2024 14:33
@maartenbreddels
maartenbreddels force-pushed the 01-24-fix_solara.server.jupyter.server_extension_not_activating branch from fa65a1a to 080894e Compare January 29, 2024 12:31
maartenbreddels added a commit that referenced this pull request Jan 29, 2024
Based on:
 * #479
 * #480
 * #486

We decided that using the proxy and the cdn if the proxy is not used
is not only something to be used in solara server. In vscode
or colab, we cannot use the proxy, and need to use the cdn directly.
@iisakkirotko
iisakkirotko force-pushed the 01-24-fix_Mermaid_and_Math_rendering_in_Jupyter_Lab_and_VSCode branch from f26b0e4 to fc01053 Compare January 29, 2024 13:47
@iisakkirotko
iisakkirotko changed the base branch from 01-24-fix_solara.server.jupyter.server_extension_not_activating to master January 29, 2024 13:47

@maartenbreddels maartenbreddels left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets go with the changes we discussed over a call, and keep the katex part in

Comment thread solara/components/markdown.py Outdated
Comment thread packages/solara-widget-manager/package.json Outdated
Comment thread packages/solara-widget-manager/src/mermaid.ts Outdated
Comment thread packages/solara-widget-manager8/package.json Outdated
Comment thread solara/components/markdown.py Outdated
Comment thread solara/components/markdown.py Outdated
Comment thread solara/components/markdown.py Outdated
Comment thread solara/components/markdown.py Outdated
maartenbreddels added a commit that referenced this pull request Jan 30, 2024
Based on:
 * #479
 * #480
 * #486

We decided that using the proxy and the cdn if the proxy is not used
is not only something to be used in solara server. In vscode
or colab, we cannot use the proxy, and need to use the cdn directly.
maartenbreddels added a commit that referenced this pull request Jan 30, 2024
Based on:
 * #479
 * #480
 * #486

We decided that using the proxy and the cdn if the proxy is not used
is not only something to be used in solara server. In vscode
or colab, we cannot use the proxy, and need to use the cdn directly.
@maartenbreddels

Copy link
Copy Markdown
Contributor

See #487 and #488 for the refactor based on our discussions yesterday.

@iisakkirotko
iisakkirotko force-pushed the 01-24-fix_Mermaid_and_Math_rendering_in_Jupyter_Lab_and_VSCode branch from c8dde04 to f882941 Compare January 30, 2024 10:29

@maartenbreddels maartenbreddels left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After a small change we can merge I think. Surprised it does not fail the build on the renderMermaid actually!

Comment thread packages/solara-vuetify-app/src/solara.js Outdated
Comment thread packages/solara-vuetify3-app/src/solara.js Outdated
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.

Markdown's code highlight, math and Mermaid support are broken in VS Code Latex example does not work in solara 1.17.5

2 participants