Use Curvenote

curvenote.dev - logo

NPM Version MIT License GitHub Stars Twitter Follow

Code

The code element will highlight your code using highlight.js. It will also trim the left margin, and any top/bottom lines out of the presented code.

function square(x){ return x ** 2; }

Made with love by Curvenote
Last updated August 24th, 2021