# rainbow **Repository Path**: mirrors_leecade/rainbow ## Basic Information - **Project Name**: rainbow - **Description**: Code syntax highlighting library written in javascript - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2026-02-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Rainbow Rainbow is a code syntax highlighting library written in Javascript. It was designed to be lightweight (1.2kb), easy to use, and extendable. It is completely themable via CSS. ## Quick Start 1. Include some markup for code you want to be highlighted: ```html
def openFile(path):
        file = open(path, "r")
        content = file.read()
        file.close()
        return content
``` 2. Include a CSS theme file in the ````: ```html ``` 3. Include rainbow.js and whatever languages you want before the closing ````: ```html ``` ## More Info You can check out the documentation and build custom packages at [rainbowco.de](http://rainbowco.de).