jupyter/jupyter.github.io

Install page has slightly different syntax highlight style than Sphinx sites

palewire opened this issue · 4 comments

Ideally, they would style code exactly the same. Let's see if we can smooth this out.

/install
Screenshot from 2021-12-27 07-11-49

https://jupyterlab.readthedocs.io/en/stable/getting_started/installation.html
Screenshot from 2021-12-27 07-11-59

Hi @palewire . Would like to work on this issue, Can you guide me ?

You'll want to look at install.md, the _sass/_syntax.scss file and what's happening on the Sphinx site to identify the differences. Then start reconciling the code here to match what we see from Sphinx.

A very basic question, What is Sphinx site ? Also from the screenshot I understood they belong to these links : https://jupyterlab.readthedocs.io/en/stable/getting_started/installation.html and https://jupyter.org/install .

I only see the difference of fonts colors , type of font and styling. Do we need to change them as the https://jupyterlab.readthedocs.io website. Also how do you want to style it, I can fetch values for some parameters.

I think one difference is that the install instructions here use a shell language:

```shell
mamba install -c conda-forge jupyterlab
```

whereas the ones in jupyterlab use bash:

.. code:: bash

    mamba install -c conda-forge jupyterlab

So if we switch the ones here to bash that would probably make them the same