Allow multiple Markdown preview tabs (#32859)

Closes #32791


https://github.com/user-attachments/assets/8cb90e3d-ef7b-407f-b78b-7ba4ff6d8df2

Release Notes:
- Allowed multiple Markdown preview tabs
This commit is contained in:
ddoemonn 2025-06-25 19:43:00 +03:00 committed by GitHub
parent b0bab0bf9a
commit 19c9fb3118
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 74 additions and 7 deletions

View file

@ -6,7 +6,10 @@ pub mod markdown_parser;
pub mod markdown_preview_view;
pub mod markdown_renderer;
actions!(markdown, [OpenPreview, OpenPreviewToTheSide]);
actions!(
markdown,
[OpenPreview, OpenPreviewToTheSide, OpenFollowingPreview]
);
pub fn init(cx: &mut App) {
cx.observe_new(|workspace: &mut Workspace, window, cx| {