vue-markdown icon indicating copy to clipboard operation
vue-markdown copied to clipboard

The `rendered` event should return the created parent `div`

Open AlexandreBonneau opened this issue 8 years ago • 0 comments

Currently, the outHtml is sent as the payload with the rendered event. I think it would be more helpful if you could also send a reference to the created parent <div> element.

For instance, by doing so, it gets much more easy to use a code highlighter like Prism that get the parent <div> element to parse it.

AlexandreBonneau avatar Nov 03 '17 01:11 AlexandreBonneau