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

hylang/hyghlight

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published