Addition of encode option for each link item

Each `link` can now optionally set it's encoding option.