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.
Furthermore, the inspiration for the design of the cards comes from the amazing carbon, a tool to create and share beautiful images of your source code.
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