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:
parent
b0bab0bf9a
commit
19c9fb3118
2 changed files with 74 additions and 7 deletions
|
@ -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| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue