You weren't clicking on the hyperlinks people were sharing because you couldn't see what they were linking to, so now I show you what is on the other side. 🤙🏻
Login to reply
Replies (9)
nice ^.^
question: how do you link to another nostr article..?
With the event ID (can usually copy from a menu in the event), prefaced with "nostr:".
Or use a URL with the identifier in it, so that I can extract the ID and render it inline.
Example of the first:
nostr:naddr1qvzqqqr4gupzqmjxss3dld622uu8q25gywum9qtg4w4cv4064jmg20xsac2aam5nqqxnzd3cxqmrzv3exgmr2wfesgsmew
Example of the second:
https://habla.news/a/naddr1qvzqqqr4gupzqmjxss3dld622uu8q25gywum9qtg4w4cv4064jmg20xsac2aam5nqqxnzd3cxqmrzv3exgmr2wfesgsmew
I tried to make the two link types look distinctive.
That's the same technique I use for Bible quotes. I recognize the wiki brackets and the `book::` prefix and then I extract the parts, query the relays with a special filter, and the render any matching event I find, along with a constructed hyperlink that returns the results of running a query for the same parts on a search website.
[[book::Ruth 3:4-8, 1 thessalonians 1:2]]
You can do the same with the Quran surahs and the Torah books. Just type in the book reference and I display the verses and a hyperlink to that section within the chapter.
Like this:
[[book:: Quran | Surah 86:11]]
[[book::Torah | Exodus 7:2-12]]
thank you~! ^.^
That was actually an excellent question. I need to make that a lot easier to do. 🤔