Skip to content

Latest commit

 

History

History
 
 

2018_39_spell_check_in_Jupyter_notebook

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

These days, I started to write more and more in Jupyter notebook, not only my blog, but also an entire book within it. Therefore, spell checking is very important to me. But the online grammarly check doesn't work with the notebook, so that I need a new way to do it.

After googling it, it seems adding the spell check for the markdown cell is easy. It is all based on the discussions here. The basic steps are:

pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter nbextension enable spellchecker/main

After successfully running the above commands, you should see the screen like this:

Success install

Now if you launch the Jupyter notebook, and in the dashboard, you will see a new option for the Nbextensions.

nbextension

Within it, you can see all the extensions and the ones you enabled.

Enable nbextension

Now, let's go to the notebook, and type something in a markdown cell, we could see that it can highlight the word we misspelled.

Spell check