The function show knows how to display entities of various types, including URLs.
The object URL is a self initializing type, with ancestor classes BasicList < Thing.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Macaulay2Doc/functions/show-doc.m2:70:0.