With regard to Export code:
- as with action code be aware of context. From which note's attributes is the code reading?
- includes (
^include()^
) cannot draw data from a note that is set to not export itself. Learn to understand the nuances of $HTMLDontExport and $HTMLExportChildren. - links in exported pages cannot be created to the content of notes exported as an inline include within another note (i.e. a composite()).