@mocanvas/mocanvas · function
declare function getBookmarkHostname(url: string): stringThe host a bookmark points at, without a www. prefix — the one line of a
link card that is always available, since it comes from the shape's own url
rather than from a scrape. An unparseable url reads as "".
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.