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

Shift-space to go to previous slide? #687

Open
pjheslin opened this issue Nov 18, 2022 · 0 comments
Open

Shift-space to go to previous slide? #687

pjheslin opened this issue Nov 18, 2022 · 0 comments
Labels

Comments

@pjheslin
Copy link

I'm in the process of trying out Remark to see if it will suit my needs, and so far it looks absolutely perfect. I have one question, though.

From using reveal.js I am accustomed to moving forward with the spacebar and backward with shift-space, but in Remark shift-space seems to go to the next slide rather than the previous one.

The weird thing is that the Remark repo seems to have code to do what I expect, in https://github.com/gnab/remark/blame/develop/src/remark/controllers/inputs/keyboard.js

 case 32: // Space
    if(event.shiftKey){ // Shift+Space
      events.emit('gotoPreviousSlide');

Git blame suggests those lines were added six years ago, but the minified JS file (https://remarkjs.com/downloads/remark-latest.min.js) does not seem to have this code in it. I must be misunderstanding something ...

@tripu tripu added the question label Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants