Split linking in a separate plugin