Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Latest commit

 

History

History
32 lines (20 loc) · 612 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 612 Bytes

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.