Skip to content

dbaynard/lucid-from-html

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please use @alogic0’s fork at https://github.com/alogic0/lucid-from-html.


This repository hosts the code to the lucid-from-html tool, derived from @jaspervdj. It is quite rough, and doubtless many examples do not work. The test suite is in progress.

Please report any issues (including examples of html files that don’t parse correctly) at the issue tracker.

Install

  1. Clone the repository.

  2. Change to the base directory of the repository.

  3. Run

    > stack install markdown-unlit
    
    > stack install
    

Run

To convert filename.html to lucid text, run

> lucid-from-html filename.html

This will print to standard output. To redirect to haskell-file.hs, use

> lucid-from-html filename.html > haskell-file.hs

To see all options, run

> lucid-from-html --help

About

Code for the lucid-from-html tool, now maintained at

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 100.0%