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

Feature request: Markdown preview on the side #2882

Closed
ufoscout opened this issue Sep 30, 2017 · 7 comments
Closed

Feature request: Markdown preview on the side #2882

ufoscout opened this issue Sep 30, 2017 · 7 comments
Milestone

Comments

@ufoscout
Copy link

Hi all,

I wonder if there is any plan to include a markdown preview panel that shows the output preview while typing. For example, this is how it is implemented in vscode (in atom there's the same feature):

screenshot_20170930_151123

The scroll of the two tabs is synchronized making the edit experience very simple; essentially, editing a doc is a matter of:
-> type -> check on the side panel -> type

On the contrary, in jupiter notebook the edit flow is like:
-> type -> click run -> check output (find the exact point you edited) -> double click to go back to edit mode -> click on the line you were editing -> type
A side panel would make it more user friendly.

@ptbrowne
Copy link

ptbrowne commented Oct 3, 2017

For what's it's worth, I've added a Stylish extension to Jupyter to show my code output cells on the side. I was coming on the GitHub issues to see if people had already opened this kind of issue.

Here is the content of the stylesheet:

#notebook-container {
    width: 100%
}

.cell {
   flex-direction: row !important;
}

.cell .input {
    width: 50%
}


.cell .output_wrapper {
    width: 50%
}

It is not giving you synchronized scroll but at least, Markdown should be easier to preview like that.

image

@keelung-yang
Copy link

@ufoscout Me too, real-time preview is nice!

@Madhu94
Copy link
Contributor

Madhu94 commented Oct 26, 2017

@ufoscout You can also check out nteract.

@lzkelley
Copy link

@ptbrowne can you explain a bit how to use this?

@ptbrowne
Copy link

  1. Install the Stylish extension. https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=fr
  2. Click the stylish icon, click the 3 dots menu, click Create New Style.
  3. Copy paste my style, give a name, save

You now have the preview on the side.

@jcb91
Copy link
Contributor

jcb91 commented Nov 4, 2017

I've written a small nbextension that provides a live rendering of markdown cells while editing them - see ipython-contrib/jupyter_contrib_nbextensions#1155

@jtpio
Copy link
Member

jtpio commented Jun 21, 2023

Closing as fixed by #6921.

This will be available in Notebook 7:

layout-settings-markdown.mp4

@jtpio jtpio closed this as completed Jun 21, 2023
@jtpio jtpio added this to the 7.0 milestone Jun 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants