Most appropriate sub-area of p5.js?
p5.js version
Current
Web browser and version
All
Operating system
All
Steps to reproduce this
In the creating libraries doc, whose source code is in this repo, there are a few little issues:
Minor, but the comments here should be HTML <!-- ... --> comments instead of jsx comments:

Here, we show two code snippets. The first is actually an anti-example of what you shouldn't do, but the explanation is inside of the collapsible details tag. It looks like the first code block should probably be inside there too, as the explanation for it starts hidden? As it is it's somewhat easy to misread it as a thing you SHOULD do, and its difference between it and the positive example isn't super clear at first.

We also don't currently have explanation about how to add to p5 state (both the kind affected by push/pop and the kind that is not.) The only example of addon state I can find is in https://dev.to/limzykenneth/designing-an-addon-library-system-for-p5js-20-3d4p:
...but I think this syntax accidentally creates a single state for all uses of the addon across instances, if multiple p5 instances are loaded on a page? Probably the correct pattern (for non push/pop state anyway) is in #7742 (comment):

Most appropriate sub-area of p5.js?
p5.js version
Current
Web browser and version
All
Operating system
All
Steps to reproduce this
In the creating libraries doc, whose source code is in this repo, there are a few little issues:
Minor, but the comments here should be HTML

<!-- ... -->comments instead of jsx comments:Here, we show two code snippets. The first is actually an anti-example of what you shouldn't do, but the explanation is inside of the collapsible

detailstag. It looks like the first code block should probably be inside there too, as the explanation for it starts hidden? As it is it's somewhat easy to misread it as a thing you SHOULD do, and its difference between it and the positive example isn't super clear at first.We also don't currently have explanation about how to add to p5 state (both the kind affected by push/pop and the kind that is not.) The only example of addon state I can find is in https://dev.to/limzykenneth/designing-an-addon-library-system-for-p5js-20-3d4p:
...but I think this syntax accidentally creates a single state for all uses of the addon across instances, if multiple p5 instances are loaded on a page? Probably the correct pattern (for non push/pop state anyway) is in #7742 (comment):