Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with Jupyter #79

Open
mwouts opened this issue Jun 18, 2018 · 4 comments
Open

Integration with Jupyter #79

mwouts opened this issue Jun 18, 2018 · 4 comments

Comments

@mwouts
Copy link

mwouts commented Jun 18, 2018

I've seen that you offer support of Rmd notebooks in Jupyter by modifying the jupyter config file. That is very nice already!

Don't you think it would be nice to have official support by Jupyter for these notebooks?
In this direction I have opened jupyter/notebook#3694

Regards

@grst
Copy link

grst commented Jun 18, 2018

@mwouts
Copy link
Author

mwouts commented Jun 18, 2018

Thanks @grst. I had a look at your version and was impressed, it even supports .nb.html !
I've also read the issue above, yet I think developping an extension for jupyter lab is a significant work.

By the way, I am interested in being able to open .Rmd files directly in Jupyter. Instructions for notebook say

c.NotebookApp.contents_manager_class = 'notedown.NotedownContentsManager'

and those for your package reads

c.IPymdContentsManager.format = 'rmarkdown' 

yet, none seems to be effective in my configuration (Jupyter 4.4.0). Are these up-to-date ?

@grst
Copy link

grst commented Jun 18, 2018

Should be possible... I will look into it, but I think this should be discussed in grst/ipymd. Would you mind opening an issue there?

@mwouts
Copy link
Author

mwouts commented Jun 20, 2018

As mentioned on the other issue, the correct syntax for https://github.com/grst/ipymd was

c.NotebookApp.contents_manager_class = 'ipymd.IPymdContentsManager'
c.IPymdContentsManager.format = 'rmarkdown'  # choose the format here

Regarding notedown I now see that

c.NotebookApp.contents_manager_class = 'notedown.NotedownContentsManager'

allows to open .md files as notebooks (not .Rmd, though).

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

No branches or pull requests

2 participants