I was just thinking it'd get more traction, if we could have a diagram showing example structures for different types of documents, and then I could create test collections for the different types and they could see how it works.
Login to reply
Replies (1)
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.