Skip to content

Commit

Permalink
Auto-open as Jupytext Notebook in JLab
Browse files Browse the repository at this point in the history
  • Loading branch information
jnywong committed Dec 3, 2024
1 parent ee97357 commit 874f96b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions overrides.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"@jupyterlab/docmanager-extension:plugin": {
"defaultViewers": {
"markdown": "Jupytext Notebook"
}
}
}
5 changes: 5 additions & 0 deletions postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -eux

mkdir -p ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings
cp overrides.json ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings

0 comments on commit 874f96b

Please sign in to comment.