Additional markdown rendering support in markdown.
Project description
jupyterlab-markup
Adds additional rendering support to markdown in JupyterLab by using markdown-it, and the following plugins:
- markdown-it-anchor
- markdown-it-deflist
- markdown-it-diagrams
- markdown-it-footnote
- markdown-it-task-lists
Prerequisites
- JupyterLab 2
Limitations
Most custom markdown extensions not covered by the default marked
-based
renderer (e.g. task lists, header anchors) will not work for others who do not
have this extension installed. Markdown is very lenient, so no data should be
lost, but it might look strange.
Installation
Install extension:
pip install jupyterlab_markup
jupyter labextension install @agoose77/jupyterlab-markup
Ensure the extensions are enabled:
jupyter labextension list # should contain @goose/jupyterlab-markup
jupyter serverextension list # should contain jupyterlab_markup
If the serverextension is missing, try...
jupyter serverextension enable jupyterlab_markup
Usage
After installing the extension (and restarting/reloading JupyterLab), all plugins will be enabled by default.
All plugins (and markdown-it
itself) can be disabled via the Command Palette
or under the
Settings menu
with Use Markdown Extensions. This will not affect existing renderers, so open
documents will need to be reopened.
Individual plugins can be previewed, enabled/disabled from the palette or menu under Markdown Extension Settings.... This view also provides links and examples of any features added by the extensions.
Advanced
A number of settings can be configured through the JupyterLab Advanced Settings
Editor, including plugin and markdown-it
options. As with the above
limitations, heavy customization might make your documents look
strange.
Contributing
Please see the contributor guide!
Examples
mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
svgbob
.---.
/-o-/--
.-/ / /->
( * \/
'-. \
\ /
'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for jupyterlab_markup-1.0.0a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 296d0b95eb1cc5b5a228e2ee313dde7b60a43050af77e20b0b8fbc73043ec1aa |
|
MD5 | fe8218da7d2b44dc478d11be17091d71 |
|
BLAKE2b-256 | 857dd276cc0b38934ed6640324ff67bb0f84210a811e677dcfdea6c6b1544581 |
Hashes for jupyterlab_markup-1.0.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 406ef459994890e2bc143d960d5427603c0fc8de50a0f52624c30528e06a10a5 |
|
MD5 | 08fc4817bc6b2e8ff92a1bc83d691a19 |
|
BLAKE2b-256 | d03ad2608db0d21b7b0d2d9dc044028ebb8366ca1db6b75f2ab0c78d13c9e076 |