Skip to content

Feat/ipynb notebook support#1498

Open
KunojiLym wants to merge 5 commits into
Graphify-Labs:v8from
KunojiLym:feat/ipynb-notebook-support
Open

Feat/ipynb notebook support#1498
KunojiLym wants to merge 5 commits into
Graphify-Labs:v8from
KunojiLym:feat/ipynb-notebook-support

Conversation

@KunojiLym

Copy link
Copy Markdown

Convert .ipynb files to markdown sidecars (code cells as fenced blocks, markdown cells verbatim, outputs stripped) and classify them as documents so notebook-heavy ML corpora are no longer silently dropped during scan.

Fixes #1497

Co-authored-by: Cursor cursoragent@cursor.com

KunojiLym and others added 4 commits June 28, 2026 00:23
Convert .ipynb files to markdown sidecars (code cells as fenced blocks, markdown cells verbatim, outputs stripped) and classify them as documents so notebook-heavy ML corpora are no longer silently dropped during scan.

Fixes Graphify-Labs#1497

Co-authored-by: Cursor <cursoragent@cursor.com>
…th separately

Restore convert_office_file inline and place ipynb_to_markdown/convert_notebook_file after it so the PR diff clearly adds notebook support without touching office conversion.

Co-authored-by: Cursor <cursoragent@cursor.com>
Compare extracted sidecar payload before rewriting so re-running a notebook updates the .ipynb on disk without bumping sidecar mtime or triggering re-extraction. Cell source edits still refresh the sidecar.

Co-authored-by: Cursor <cursoragent@cursor.com>
Updated the ipynb_to_markdown function to use the notebook's kernel language for fenced code blocks instead of a generic fallback. Improved handling of source code extraction from notebook cells.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add Jupyter notebook (.ipynb) support via markdown sidecar extraction

1 participant