markdown-to-jsx
markdown-to-jsx copied to clipboard
Feature request: Handle user selection change event in rendered Markdown. Emit an event that returns the corresponding selection in plain Markdown
First of all, thank you for the amazing package. It works perfectly. There are some minor issues with rendering emojis, but that's not a big deal to fix it from the outside. I'd like to ask if it would be possible to add the following feature:
Handle selectionchange event in rendered Markdown. Then emit an public event that returns the corresponding selection in plain Markdown text:
- corresponding plain text
- position of selection in original plain text - start and end
That would make a markdown-to-jsx more customizable and would allow to implement interactive features Have a nice day