question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

opening jupytext notebooks in jlab

See original GitHub issue

Hiya

trying to migrate from classic to something more modern, I’m facing an issue that has to do with the awkward path that seems to be the only way to open a jupytext notebook under jlab

  • from the UI, clicking say foo.md in the file browser results in a markdown editor; I need to do right-click → open withNotebook to get it to open as a notebook
  • from the outside, I’d need a way to do the same from a regular URL; opening lab/tree/path/foo.md has the same result as from the UI, so I can’t seem to find any way to open it as a notebook from a URL

the first issue is an impediment but of course something I can live with; the second is more of a showstopper for me at this point

I’d love to find a way around this

ps for reference, I’ve be stirring this in a couple other threads already https://discourse.jupyter.org/c/jupyterlab/17 and more marginally in https://github.com/jupyterlab/retrolab/issues/162

in the latter @jtpio suggested that an extension could come in handy, but I must honestly admit that the whole jlab extension ecosystem has scared the hell out of me a bit, so I am unsure what this would actually involve…

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:27 (20 by maintainers)

github_iconTop GitHub Comments

2reactions
fcollonvalcommented, Dec 13, 2021

another option would be to create another package that will just install this configuration file?

Good news, with the newly released JupyterLab server 2.9.0 this could be a thing using the new overrides.d folder.

1reaction
astrojuanlucommented, Nov 30, 2021

I’m currently using .mystnb. The reason is that I think MyST-Parser is registered to parse .md files, and I found some sort of conflict. But honestly I would love to switch to .md because then they would have a nice preview on GitHub. MyST-Parser and MyST-NB were in its infancy when I did the migration and… well, I’ve become an expert in Sphinx and documentation this year 😃 so I might give it a try again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Opening a jupytext-powered notebook under jlab - JupyterLab
Hiya there we've been using the classic notebook up to now, and this being no longer maintained, I am giving another go at...
Read more >
Paired notebooks - Jupytext documentation - Read the Docs
How to open scripts with either the text or notebook view in Jupyter?¶. With Jupytext's contents manager for Jupyter, scripts and Markdown documents...
Read more >
List of extensions and tools — jupyterlab-contrib 1.0.0 ...
Ganimede - Store, version, edit and execute notebooks in sandboxes and integrate them directly via REST interfaces. gator: Conda environment and package ...
Read more >
Jupyter Documentation - Read the Docs
When the notebook opens in your browser, you will see the Notebook ... Loic Huder: short presentation of jupyter-h5web, a JLab extension to ......
Read more >
jupyterlab/jupyterlab - Gitter
(I don't have experience with web workers in jlab, though. ... When I open a new notebook in jupyterlab2 I see the following...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found