markdown preview: Allow toggling checkbox by click (#10364)
Release Notes: - Added support for toggling a checkbox in markdown preview by clicking on it (cmd+click) ([#5226](https://github.com/zed-industries/zed/issues/5226)). --------- Co-authored-by: Remco Smits <62463826+RemcoSmitsDev@users.noreply.github.com>
This commit is contained in:
parent
eb6f7c1240
commit
fef0516f5b
4 changed files with 117 additions and 37 deletions
|
@ -58,7 +58,7 @@ pub struct ParsedMarkdownListItem {
|
|||
#[cfg_attr(test, derive(PartialEq))]
|
||||
pub enum ParsedMarkdownListItemType {
|
||||
Ordered(u64),
|
||||
Task(bool),
|
||||
Task(bool, Range<usize>),
|
||||
Unordered,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue