sauce

Embed snippets from source code on GitHub using highlight.js and web components. All client side, all free and open source.

Importing

<script type='module' src="https://nrktkt.github.io/sauce/sauce.js"></script>

Embedding a file

Overriding the language detection

Embedding a snippet from a file

Changing the theme

You can find a list of themes here. The theme name is between the last / and the .min.css.
Previews of themes are here.

Other goodies