-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Plugin: CheckBox #50
Comments
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!!!!!!!!! |
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
The text was updated successfully, but these errors were encountered: