Skip to content

Commit

Permalink
Merge pull request #193 from bsipocz/FIX_markdown_in_binder
Browse files Browse the repository at this point in the history
MAINT: fix binder launch for markdown notebooks
  • Loading branch information
bsipocz authored Dec 20, 2024
2 parents a26d764 + 843d114 commit de1fff7
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 .binder/overrides.json ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings

0 comments on commit de1fff7

Please sign in to comment.