p5.js-website icon indicating copy to clipboard operation
p5.js-website copied to clipboard

Do we support Mermaid diagrams and inline math?

Open davepagurek opened this issue 4 months ago • 1 comments

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?

davepagurek avatar Apr 08 '24 14:04 davepagurek

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.

stalgiag avatar Apr 10 '24 14:04 stalgiag