No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
templates
.gitignore
LICENSE
README.md Add Rouge support Feb 5, 2017
hyghlight.hy
requirements.txt

README.md

Hyghlight

Hy builtin keywords generator for highlight.js and may be other highlighting libraries.

Installation

Install virtual environment and requirements using these commands:

virtualenv .env --python=python3
. .env/bin/activate
pip install -r requirements.txt

Usage

Generate actual hy.js for highlight.js project:

hy hyghlight.hy highlight.js > ~/projects/highlight.js/src/languages/hy.js

Generate actual hylang.rb for Rouge project:

hy hyghlight.hy rouge > ~/projects/rouge/lib/rouge/lexers/hylang.rb

License

License: MIT (Expat) - as in Hy itself.