yzhang-gh / vscode-markdown

Markdown All in One
https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one
MIT License
2.91k stars 322 forks source link

Toggle checkboxes via preview #193

Closed Splike closed 6 years ago

Splike commented 6 years ago

When I've made my task list, I like to only have the preview open. Would it be possible to implement the ability to click checkboxes in the preview, so the code is updated as well? The source file should save itself upon checking/unchecking via the preview.

yzhang-gh commented 6 years ago

It seems not feasible. Maybe you need a more powerful Markdown editor like Typora or Caret.

nesl247 commented 6 years ago

I came to look for this. What is the limitation? I've seen this work in PhpStorm for example.

yzhang-gh commented 6 years ago

It is somehow possible but complicated to implement because of vscode extension APIs.

nesl247 commented 5 years ago

Is there an open issue on VSCode for what would make it easier to implement?

yzhang-gh commented 5 years ago

I'm afraid no 😳

Markdown is rendered to HTML and then previewed in a new tab (done by vscode)

What we can contribute now is

To implement this feature, we need to

benthillerkus commented 4 years ago

Has the situation changed, 2 years later? I'd love to work through a ToDo-list that way.

yzhang-gh commented 4 years ago

Not feasible as a plugin. But you may be interested in https://github.com/microsoft/vscode/issues/84520.

Bludator commented 1 year ago

Any updates?