Jupyterlab extension to save you the scrolling time from when you are at markdown file location and open editor and need to scroll to the exact place in the file where the content is. This extension opens the editor at the place where the content is
Project description
jupyterlab_edit_markdown_at_content_extension
Jump straight from a rendered markdown file into the editor at the exact line you were reading. No more opening the editor and scrolling to find the content again - this extension opens the editor positioned right where the content is.
Features
- Show Markdown Editor - right-click rendered content and pick "Show Markdown Editor"; the editor opens split-right with the cursor on the line that produced what you clicked. This replaces JupyterLab core's identically named command, which always opened at line 0
- Reveal in Markdown Preview - right-click in the editor and pick "Reveal in Markdown Preview" to scroll the rendered preview to the block at the cursor
- Synced scrolling - once the editor is opened from the preview, the two panes track each other: the pane you are scrolling drives, the other follows to the matching location. Toggle with the
trackEditorsetting (on by default) under Settings → Edit Markdown at Content
Usage
- In a rendered Markdown Preview, right-click the content you are reading and choose Show Markdown Editor. The editor opens to the right with the cursor on that line, scrolled to the top
- In the editor, right-click and choose Reveal in Markdown Preview to scroll the preview to the block at the cursor
- With both panes open, scrolling the focused pane scrolls the other to the matching location
Settings
- trackEditor (default
true) - keep the editor and preview scrolled together once opened from the preview. Turn it off under Settings → Settings Editor → Edit Markdown at Content
Requirements
- JupyterLab >= 4.0.0
Install
pip install jupyterlab_edit_markdown_at_content_extension
Uninstall
pip uninstall jupyterlab_edit_markdown_at_content_extension
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyterlab_edit_markdown_at_content_extension-1.0.13.tar.gz.
File metadata
- Download URL: jupyterlab_edit_markdown_at_content_extension-1.0.13.tar.gz
- Upload date:
- Size: 390.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c30f7dbddd7db7a82c6a1f1f68c759e645594a1a5e5e0ee04821f774d62c7be
|
|
| MD5 |
6cc1a4aed582020a3b85f6691568d731
|
|
| BLAKE2b-256 |
e5076097de6dbf3a7b6eec70a983a6ae9163cb9388b74c298a31205e683e4565
|
File details
Details for the file jupyterlab_edit_markdown_at_content_extension-1.0.13-py3-none-any.whl.
File metadata
- Download URL: jupyterlab_edit_markdown_at_content_extension-1.0.13-py3-none-any.whl
- Upload date:
- Size: 36.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95a03a5e73e311591c7f43638a90925837707f9f63458751cec6e19afea9999a
|
|
| MD5 |
ecfe7c2b21dad513bbeca1634130bc0d
|
|
| BLAKE2b-256 |
c3d9742ba7856c5c39a2e2fdea04ece69f83aace2b210d4c76120e03c737ef7e
|