processing / p5.js-website

New p5.js website!
http://p5js.org
MIT License
19 stars 89 forks source link

Do we support Mermaid diagrams and inline math? #168

Open davepagurek opened 7 months ago

davepagurek commented 7 months ago

In one of our contributor docs, we have a diagram rendered with Mermaid since GitHub is able to render those in its readmes. A writer currently working on the documentation for functions like applyMatrix also was wondering if we could use something like GitHub readme inline math in documentation.

We don't necessarily need to implement any of these right away, but do you have a sense of what it would take to integrate them in the future?

stalgiag commented 7 months ago

The former would likely require a plugin, ideally one that supports server-side rendering (to reduce package size). I don't know how different pintora is from mermaid but I see this pintora plugin for Astro.

The latter would just require specific styles.