-
Notifications
You must be signed in to change notification settings - Fork 19
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
Do Not highlight links #248
Comments
I confirm that links to other notebooks in rendered markdown cells of Jupyter notebooks are not highlighted as they used to be. So students struggle to realize which pieces of texts are actually links. Links to files still appear (underlined & blue) as usual. I can't really report which version upgrade caused that, as I was stuck for other reasons with a much earlier version of JupyterLab, and jumped directly to jupyterlab 4.3.4 and jupyterlab-myst 2.4.2 (installed from conda-forge). This affects both firefox and chrome. Thanks in advance! |
I do confirm this bug I have opened a bug for this issue on jupyter lab : jupyterlab/jupyterlab#17232 It contains screenshots of css shown by firefox dev toolbar
|
This is because JupyterLab no longer spills styles to embedding application, which is implemented by pre-pending In JupyterLab links in rendered Markdown are coloured with: jp-RenderedHTMLCommon a:link {
text-decoration: none;
color: var(--jp-content-link-color);
} which has specificity (0,2,1) which overrides the reset rule: .jp-ThemedContainer a {
text-decoration: unset;
color: unset;
} that has specificity: (0,1,1) While myst does ship with a .myst :where(a):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
color: var(--jp-content-link-color, #1976d2);
text-decoration: none;
font-weight: 400;
} it is very low specificity (0,1,0) - due to use of One solution, documented in https://jupyterlab.readthedocs.io/en/latest/extension/extension_migration.html#jupyterlab-4-2-to-4-3, is to add We could also discuss changing the selector upstream in JupyterLab, but that would require some benchmarking too (I am not sure what is the cost of |
Description
Do Not highlight links on pages after update jupyterlab to 4.3.0
The text was updated successfully, but these errors were encountered: