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

Allow running specific code blocks #192

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

ycombinator
Copy link

@ycombinator ycombinator commented Oct 16, 2022

Fixes #181

Changes Introduced

Allows users to run specific code blocks within a slide.

  • ctrl+e puts the user in code block execution mode. It can be followed up with:
    • esc or ctrl+c: to exit code block execution mode
    • enter or n: to run the next code block on the slide (initially starting at the first one)
    • a: to run all code blocks on the slide, from first to last
    • [n], where [n] is some integer >= 0: to run code block with index [n] (0-based indexing)

After the last code block on the slide has been run, regardless of how it was run, the user automatically exits from code block execution mode.

@ycombinator ycombinator marked this pull request as draft October 16, 2022 06:46
@ycombinator ycombinator marked this pull request as ready for review October 16, 2022 07:15
@xezo360hye
Copy link

Tests are failing and I can see some issues with styles, did you run make test?

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

Successfully merging this pull request may close these issues.

Ability to run specific code block
2 participants