writeBookmark

abstract fun writeBookmark(title: String, url: String, type: ClipboardWriteBookmarkType = definedExternally)(source)

Writes the title (macOS only) and url into the clipboard as a bookmark.

Note: Most apps on Windows don't support pasting bookmarks into them so you can use clipboard.write to write both a bookmark and fallback text to the clipboard.