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

Change Ctrl + Enter to render Markdown cells #128

Merged
merged 2 commits into from
Nov 25, 2023

Conversation

firai
Copy link
Collaborator

@firai firai commented Nov 10, 2023

References

Closes #120

Code changes

Don't re-enter edit mode for Markdown cells in vim:run-cell-and-edit.

Additional context

This command has been contradictory for Markdown cells, as JL exits edit mode when rendering Markdown by design. This command previously prioritized staying in edit mode, which effectively resulted in no actions being taken for Markdown cells when the command is called.

Since the user pressed a key binding to call the command and therefore presumably expected something to happen, I think this proposed change to prioritize rendering the cell for Markdown cells is acceptable.

Copy link

Binder 👈 Launch a Binder on branch firai/jupyterlab-vim/ctrl-enter-render-md

@firai firai added the enhancement New feature or request label Nov 10, 2023
Copy link
Collaborator

@krassowski krassowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @firai!

@krassowski krassowski merged commit b7eb0e2 into jupyterlab-contrib:main Nov 25, 2023
6 checks passed
@SamLau95
Copy link

SamLau95 commented Jan 2, 2024

Thanks so much!

@ianhi
Copy link
Collaborator

ianhi commented Jan 17, 2024

@firai this still needs to be released right?

@firai firai deleted the ctrl-enter-render-md branch January 20, 2024 13:51
@firai
Copy link
Collaborator Author

firai commented Jan 20, 2024

Correct, this hasn't been released yet

@ianhi
Copy link
Collaborator

ianhi commented Jan 20, 2024

do you have the poewr to make a release? if not im happy to do it, and also to try to figure out getting you the ability.

instructions on how live here: https://jupyter-releaser.readthedocs.io/en/latest/get_started/making_release_from_repo.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using Ctrl-enter to render Markdown cells
4 participants