Dikaios1517 on Nostr: NIP-23 defines long-form notes (kind 30023) as containing text in Markdown syntax. If ...
NIP-23 defines long-form notes (kind 30023) as containing text in Markdown syntax. If you want to have a note kind that supports a different markup language, such as LaTeX, you should propose a new kind.
Note kinds only support one markup language, if any at all, for the sake of simplicity of implementation. Not all clients should be expected to render every markup language. The easiest way for them to decide which they will support is if each markup language has its own separate note kind and then client devs can choose which note kinds they will support in their client.
Otherwise, clients that just want to support notes with Markdown will have to weed out the kind 30023 notes that include other markup languages somehow.
Published at
2025-06-10 17:09:44Event JSON
{
"id": "0f5bce60f9373e01cefe8f73c935cc69bffa7231c891e856d56363ffb95e00fd",
"pubkey": "b7274d28e3e983bf720db4b4a12a31f5c7ef262320d05c25ec90489ac99628cb",
"created_at": 1749575384,
"kind": 1,
"tags": [
[
"e",
"eb4841ebbdba1d8892d78e8c3583259f4448c818113c8400878367ddcf5a76b1",
"",
"root",
"3b3a42d34cf0a1402d18d536c9d2ac2eb1c6019a9153be57084c8165d192e325"
],
[
"client",
"asknostr.site"
],
[
"p",
"3b3a42d34cf0a1402d18d536c9d2ac2eb1c6019a9153be57084c8165d192e325"
]
],
"content": "NIP-23 defines long-form notes (kind 30023) as containing text in Markdown syntax. If you want to have a note kind that supports a different markup language, such as LaTeX, you should propose a new kind.\n\nNote kinds only support one markup language, if any at all, for the sake of simplicity of implementation. Not all clients should be expected to render every markup language. The easiest way for them to decide which they will support is if each markup language has its own separate note kind and then client devs can choose which note kinds they will support in their client.\n\nOtherwise, clients that just want to support notes with Markdown will have to weed out the kind 30023 notes that include other markup languages somehow.",
"sig": "204e7ddb966903b542f857d3a29a06354796a3f551053af187c448a56d80438f5db6228f5807101c20901cb4d447be2527abc71742b301056fa17937b733ade3"
}