Automatically update markdown titles