Why Nostr? What is Njump?
2024-06-23 12:55:50

liminal 🦠 on Nostr: The article header in theory should help you not worry about how nested it is. You ...

The article header in theory should help you not worry about how nested it is. You are only traversing one list at a time and using the rules to render each individual element.

```
def renderHeader(nevent)
for e in nevent.tags:
render(e, kind=e.kind)
```
An article header would just render the .content feld, which is just stringified json metadata not unlike kind0. So it will just be a title card among the other notes that are rendered - keeping the rest of the article unrendered beyond that level.
Author Public Key
npub1m3xdppkd0njmrqe2ma8a6ys39zvgp5k8u22mev8xsnqp4nh80srqhqa5sf