Closed garygreen closed 9 years ago
because this project is a plugin for markdown-it, i looked for a solution there. but i could not find any hint in the api that would suggest that html parsing is implemented. i close this ticket until markdown-it supports both ways, or someone comes up with a nice idea to implement this feature. in my opinion it should be a plugin for some package like html2markdown.
I know it's a plugin, but imo this can be completely standalone tool that has no dependency on markdown-it. It simply uses regex to find the checkboxes and convert them to HTML -- not sure why it needs markdown-it?
For converting back into markdown, it's possible by simply finding what ones are ticked, then adjusting the original markdown based on positions.
Would be so awesome if this was completely standalone (with an optional markdown-it plugin) :smile:
Is it possible to convert back into markdown? e.g.