-

@ Dikaios1517
2025-06-10 17:09:44
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.