@deckdeckgo/highlight-code

A Web Component to highlight your code

Usage no npm install needed!

<script type="module">
  import deckdeckgoHighlightCode from 'https://cdn.skypack.dev/@deckdeckgo/highlight-code';
</script>

README

npm license

DeckDeckGo - Highlight Code

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.

Table of contents

Getting Started

To get started with this Web Component, have a look to its documentation.

License

MIT © David Dal Busco and Nicolas Mattia