Skip to content

Commit

Permalink
Update mu-notedown to d2l-notedown
Browse files Browse the repository at this point in the history
  • Loading branch information
astonzhang committed Aug 3, 2022
1 parent 417f341 commit d5fc1c3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions INFO.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jupyter notebook
Optional: using `jupyter_contrib_nbextensions`

```
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
# jupyter nbextension enable execute_time/ExecuteTime
```

Expand All @@ -46,7 +46,7 @@ sudo apt-get install pandoc # If not working, conda install pandoc
# To import d2l
cd d2l-en
pip install -e .
pip install -e .
# Build PDF
d2lbook build pdf
Expand Down
10 changes: 5 additions & 5 deletions chapter_appendix-tools-for-deep-learning/jupyter.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ When a notebook contains more cells, we can click "Kernel" $\rightarrow$ "Restar

## Advanced Options

Beyond local editing two things are quite important: editing the notebooks in the markdown format and running Jupyter remotely.
The latter matters when we want to run the code on a faster server.
The former matters since Jupyter's native ipynb format stores a lot of auxiliary data that is
Beyond local editing two things are quite important: editing the notebooks in the markdown format and running Jupyter remotely.
The latter matters when we want to run the code on a faster server.
The former matters since Jupyter's native ipynb format stores a lot of auxiliary data that is
irrelevant to the content,
mostly related to how and where the code is run.
mostly related to how and where the code is run.
This is confusing for Git, making
reviewing contributions very difficult.
Fortunately there is an alternative---native editing in the markdown format.
Expand All @@ -93,7 +93,7 @@ can modify notebooks in the md format directly in Jupyter.
First, install the notedown plugin, run the Jupyter Notebook, and load the plugin:

```
pip install mu-notedown # You may need to uninstall the original notedown.
pip install d2l-notedown # You may need to uninstall the original notedown.
jupyter notebook --NotebookApp.contents_manager_class='notedown.NotedownContentsManager'
```

Expand Down

0 comments on commit d5fc1c3

Please sign in to comment.