Support native links.

Links are parsed and included as `link` field. These are visible in the
UI as file icons, rather than in the title itself.
remove logs