Syntax highlight JavaScript strings for output in terminals.
See our website @babel/highlight for more information.
Using npm:
npm install --save-dev @babel/highlight
or using yarn:
yarn add @babel/highlight --dev
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.