Clean up markdown and fix links