marp-team / marp-cli

A CLI interface for Marp and Marpit based converters
MIT License
1.85k stars 105 forks source link

Keyboard shortcuts for moving quickly inside the presentation #564

Closed pprw closed 9 months ago

pprw commented 9 months ago

For long presentation with many many slides, it could be laborious to go to a peculiar point.

Implementing basic keyboard shortcut such as

would fixes that.

This is a remark in the same spirit than https://github.com/marp-team/marp-cli/issues/206.

P-S: today, up, down and right,left arrow are used for the same thing (moving of one slide). up and down arrow could be used to moving of 10 slides)

yhatt commented 9 months ago
  • go to the last slide (suggestion: ctrl+rightarrow)
  • go to the first slide (suggestion: ctrl+leftarrow)

It's worth noting that the bespoke template already supports navigation to the first and last slides using the Home and End keys.

  • go the the new title of h1 level (suggestion: (h)

We are reluctant to make this suggestion. It depends on the document whether the Markdown slides comply with the heading level.

up and down arrow could be used to moving of 10 slides

Marp CLI is not adopting to make different actions for up and down keys, because it will break compatibility with common presentation tools such as PowerPoint. That may surprise users who are familiar with them.

If necessary, you can make your own HTML presentation system with your ideal keyboard shortcuts by integrating Marp through Marp Core :)

pprw commented 9 months ago

Thank you for the answer.

I understand.