Adding link and markdown auto-selection.