Trigger a markdown-previewed custom event on markdown previews