Refactor the plugin code
Remove isMarkdown function
Refactor code
Add an option to specify a collection property