Add page up/down bindings to the Markdown preview (#33403)

First time contributor here. 😊

I settled on markdown::MovePageUp and markdown::MovePageDown to match
the names the editor uses for the same functionality.

Closes #30246

Release Notes:

- Support PgUp/PgDown in Markdown previews
This commit is contained in:
Daniel Sauble
2025-07-02 12:14:34 +03:00
committed by GitHub
parent 123a25c58c
commit f000dfebd2
5 changed files with 119 additions and 4 deletions
@@ -8,7 +8,13 @@ pub mod markdown_renderer;
actions!(
markdown,
[OpenPreview, OpenPreviewToTheSide, OpenFollowingPreview]
[
MovePageUp,
MovePageDown,
OpenPreview,
OpenPreviewToTheSide,
OpenFollowingPreview
]
);
pub fn init(cx: &mut App) {