Skip to content

Dark Code — Lightweight syntax highlighter with Dracula theme colors.

Notifications You must be signed in to change notification settings

webguyio/dark-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dark Code

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.

Installation

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-code

License

Public Domain (use freely)

About

Dark Code — Lightweight syntax highlighter with Dracula theme colors.

Resources

Stars

Watchers

Forks

Sponsor this project