Update base.css for displaying link in blue #268
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I modified the base.css file adding extra CSS code to force the display of Myst links to appears light blue.
To install the fix in you python virtual environment, I followed these steps:
I assume that you have a Python virtual environment with Jupyterlab and pip installed in it.
1 - Download or
git clone
myjupyterlab-myst
fork repository https://github.com/tguilment/jupyterlab-myst (you can also get the original repository and do the changes yourself at https://github.com/jupyter-book/jupyterlab-myst)2 - The goal will be to:
i) If not done, change the
jupyterlab-myst/style/base.css
file adding the theme you want at the end:ii) Once this is done, activate your python virtual environment et
cd
insidejupyterlab-myst
iii) Install the package with
pip install -e .
(with.
the current folder path to bejupyterlab-myst
)iv) Create dependencies and build the extension using the
jlpm
tool (should be already working when pip and jupyterlab are installed)v) Update the Jupyterlab extension by executing
jupyter labextension develop . --overwrite
Now, when running Jupyterlab and refreshing the page, you should have light blue links.
Let me know how it goes.
Hope that helps.