This component is the code highlighter of DeckDeckGo.
It is developed with Stencil and use Prism.js from Lea Verou and James DiGioia for the highlighting itself.
To get started with this Web Component, have a look to its documentation.
To develop and run this Web Component locally, proceed as following:
git clone https://github.com/deckgo/deckdeckgo
cd deckdeckgo/webcomponents/highlight-code
npm install
npm run start
MIT © David Dal Busco and Nicolas Mattia