how to put javascript sketches in a blog post?

embedding is possible via editor.p5js.org:

embedding SVG.js is also possible:


as is embedding elm: