Project

General

Profile

Feature #5442

Preview of Jupyter notebooks

Added by Brahim Djoudi over 1 year ago. Updated 9 months ago.

Status:
Resolved
Priority:
Low
Category:
Feature Idea
Target version:
-
Start date:
25.02.2018
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:

Description

Both Github and Gitlab have preview capability for Jupyter notebooks (https://nbformat.readthedocs.io/en/latest/) that mix Python code (or other language), Markdown cells and plain text fields.
Rhodecode CE or EE should offer a similar feature.

Regards.

History

#2 Updated by Brahim Djoudi over 1 year ago

Hello and thanks for the quick reply.

I didn't test with a relevant notebook and I have been confused with the header displaying the mimetype (text/plain with TextLexer).
Why a more precise mimetype (one among the list provided at http://jupyter.readthedocs.io/en/latest/reference/mimetype.html) isn't displayed?

Regards

#3 Updated by Marcin Kuzminski [staff] over 1 year ago

Hi,

We do ipython rendering based purely on file extension. I think we could thing in future about extending this also by detecting listed jupyther mimetypes ?

Best,

#4 Updated by Marcin Kuzminski [staff] 9 months ago

  • Status changed from New to Resolved

This has been implemented few releases ago.

Also available in: Atom PDF