Highlight typos in the jupyter notebook markdown

后端 未结 3 826
孤街浪徒
孤街浪徒 2020-12-13 06:19

When I write something in the jupyter notebook markdown field, the typos are not highlighted and often I ended up with something like this:

In almost all ID

3条回答
  •  旧时难觅i
    2020-12-13 06:46

    Run the following in a terminal:

    ipython install-nbextension https://bitbucket.org/ipre/calico/downloads/calico-spell-check-1.0.zip
    ipython install-nbextension https://bitbucket.org/ipre/calico/downloads/calico-document-tools-1.0.zip
    ipython install-nbextension https://bitbucket.org/ipre/calico/downloads/calico-cell-tools-1.0.zip
    jupyter nbextension enable calico-spell-check
    

    You can see typos like Find out more

    Afterwards, you need to activate the spell check in the Jupyter Notebook:

    %%javascript
    IPython.notebook.config.update({
      "load_extensions": {"calico-spell-check":true,
                          "calico-document-tools":true,
                          "calico-cell-tools":true
                         }
    })
    

提交回复
热议问题