Any clients rendering LaTeX properly in NIP-23 articles? #asknostr
Login to reply
Replies (17)
I think habla.news had this since long time ago
I tried it there but it did not work https://habla.news/a/naddr1qvzqqqr4gupzqw59r9urlqe9xmkran9p87hgve6zh2p7f7rucylfgup448lctcqrqqxnzde58y6n2wpnxvun2v3syx9n90
What about yakihonne?
Pretty sure NIP-23 is supposed to use markdown
Yes, but many markdown "viewers" support LaTeX expressions within $ and $$ like Obsidian and Github.
Doesn't make sense to me, LaTeX isn't markdown
Its a useful feature to render LaTeX syntax
Not in NIP-23, that's for markdown & shouldn't be changed to add LaTeX
Could use a new NIP maybe
No, I've also tried it. I'm vibecoding something that will soon put this issue to rest :)
Amazing 🙏
It seems like it was once supported but not anymore for some reason https://habla.news/a/naddr1qvzqqqr4gupzqla9dawkjc4trc7dgf88trpsq2uxvhmmpkxua607nc5g6a634sv5qqd8xcmfv4hxxefvypcx2etjypex2anfv4mjcgrdv96xsj0rlxs
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.
I just vibe coded one https://texstr.org
nostr:nevent1qvzqqqqqqypzqwe6gtf5eu9pgqk334fke8f2ct43ccqe4y2nhetssnypvhge9ce9qqswkjzpaw7m58vgjttcarp4svje73zgeqvpz0yyqzrcxe7aead8dvg8cvg9j
ups 404
Just dig a bit, looks great!
I just fixed it, it was lacking some vercel configuration