import { escapeHtml } from "../lib/html.ts"; import type { Messages } from "../lib/i18n/index.ts"; import { sidebarLinkClass } from "./theme/index.ts"; export function shareOnBlueskyButton( noteTitle: string, noteUrl: string, msg: Messages, ): string { const text = `${noteTitle} ${noteUrl}`; const intent = `https://bsky.app/intent/compose?text=${encodeURIComponent(text)}`; const label = msg.wiki.share; return ` ${escapeHtml(label)} `; }