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 February 19th, 2021