Lightweight syntax highlighter with Dracula theme colors. Just 11KB uncompressed with zero dependencies. Supports 15+ languages including HTML, XML, CSS, JavaScript, TypeScript, Java, C#, PHP, Python, Bash, SQL, C/C++, Markdown, JSON, YAML, Apache/Nginx configs, and Go. Supports modern browsers only.
Download:
Download dark-code.js and include it in your HTML:
<script src="dark-code.js"></script>CDN:
<script src="https://unpkg.com/dark-code"></script>npm:
npm install dark-codePublic Domain (use freely)