Improve Nostr link handling
Some checks are pending
CI / Test and lint (push) Waiting to run

Fixes a bunch of problems with how Nostr links are created and replaced
in Markdown content
This commit is contained in:
2025-04-21 12:28:51 +04:00
parent fb37db8583
commit 2720e5b119
7 changed files with 274 additions and 69 deletions

View File

@@ -1,7 +1,7 @@
import { render as renderMarkdown } from "@deno/gfm";
import { nip19 } from "@nostr/tools";
import { NostrEvent as NEvent } from "@nostrify/nostrify";
import { replaceNostrUris } from "../nostr.ts";
import { replaceNostrUris } from "../nostr/links.ts";
import config from "../config.ts";
export default class Article {