Experimental browser for the Atmosphere
if you want markdown-style links, @atcute/bluesky-richtext-parser can turn plain text into an array of tokens (not facets) and it supports them then you could probably adapt this code to turn tokens into facets
Apr 30, 2025, 9:21 PM
{ "uri": "at://did:plc:gw2r3ygj5vgjol5rrho56ipn/app.bsky.feed.post/3lo2pzxnu526b", "cid": "bafyreicdtmteszue36447ejrtu2s2hnsghkpk753lfrcesw2w2lpkmfmhm", "value": { "text": "if you want markdown-style links, @atcute/bluesky-richtext-parser can turn plain text into an array of tokens (not facets) and it supports them\n\nthen you could probably adapt this code to turn tokens into facets", "$type": "app.bsky.feed.post", "langs": [ "en" ], "reply": { "root": { "cid": "bafyreiazl5eevwc22rteydt74arfae2ci63fdltbovq65gkbo75pynji3y", "uri": "at://did:plc:ywh4n7ihypdnwb4n2kzlzrht/app.bsky.feed.post/3lnzym4ktl22l" }, "parent": { "cid": "bafyreiazl5eevwc22rteydt74arfae2ci63fdltbovq65gkbo75pynji3y", "uri": "at://did:plc:ywh4n7ihypdnwb4n2kzlzrht/app.bsky.feed.post/3lnzym4ktl22l" } }, "facets": [ { "index": { "byteEnd": 65, "byteStart": 34 }, "features": [ { "uri": "https://github.com/mary-ext/atcute/tree/trunk/packages/bluesky/richtext-parser", "$type": "app.bsky.richtext.facet#link" } ] }, { "index": { "byteEnd": 184, "byteStart": 175 }, "features": [ { "uri": "https://github.com/mary-ext/aglais/blob/5703360703/src/components/composer/lib/api.ts#L650", "$type": "app.bsky.richtext.facet#link" } ] } ], "createdAt": "2025-04-30T21:21:24.054Z" } }