Adding MarkDown helper buttons and preview for any input element