Open Khaos66 opened 1 year ago
Thanks a lot, this is an excellent example on how to write a custom plugin ;)
Hi, thank you for the plugin. I just connected it to my project and tested it. It has some problems, like when I check the checkbox in a so-called "Markdown view", and then I come back to the text, it doesn't affect the text itself, the [ ] is still without an x, moreover, when I put more checkboxes in my list, they do not appear in the "Markdown view". I am writing something like an obsidian replica just for fun. Gonna try to solve this problem in a very simple way. Thank you so much again!!!!!!!!!
Hi, thank you for the plugin. I just connected it to my project and tested it. It has some problems, like when I check the checkbox in a so-called "Markdown view", and then I come back to the text, it doesn't affect the text itself, the [ ] is still without an x, moreover, when I put more checkboxes in my list, they do not appear in the "Markdown view". I am writing something like an obsidian replica just for fun. Gonna try to solve this problem in a very simple way. Thank you so much again!!!!!!!!!
I just disabled the possibility of checking the checkbox in a "Markdown view". Works fine for me
I created this new plugin to display checkboxes defined by
[ ]
and[x]
in markdownYou may include this in the repo and release a nuget for it ;)
You may also update it to reflect your code style or add new features.
Sadly the plugin api doesn't provide the original index of the text span a parser is parsing. So I had to add a wild hack to be able to ensure the checkbox can update the markdown at the correct place