Skip to content

chrisbward/html2pug-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

html2pug-go (experimental)

Gopher and Pug working on HTML

A utility library to map HTML to Pug equivalent, inspired by and partly ported from html2jade

Using the library

Examples can be found within ./examples/

Running the tests

go test -v ./test/...

Note: some tests are failing as I fix the issues with the port, so I've added a flag to skip

Issues

Work on html2pug-go is currently ongoing, so YMMV - feel free to raise issues or submit a PR (with supporting tests)

Todo

  • Fix unit tests (doSkip has been added to failing tests)
  • Support rendering of partials
  • Increase coverage of unit tests
  • CLI app

About

Converts HTML to Pug

Topics

Resources

License

Stars

Watchers

Forks

Languages