Last updated
Syntax Highlighter can be used to format code snippets.
This is a Vanilla JS Component.
https://nectar.website/demo/components/syntax-highlighter/
You can refer to the code present in /partials/components/syntax-highlighter.html file and use it accordingly.
Last updated