Skip to content

noordahx/blog.hs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blog-hs - static blog generator written is Haskell

How to use?

  • convert command converts input given to html string:
./blog-hs-gen convert
* This is a sample heading

This is a sample paragraph

code:

> main = putStrLn "hello world!"

ordered list:

# first item
# second item
# third item

unordered list:

* Bread
* Butter
* Jam
  • convert-dir command converts a whole director of text files into blog:
./blog-hs-gen convert-dir -i sample/sampleDir -o sample/outputDir -N Nurda\'s\ Blog

Cabal commands:

  • cabal run blog-hs-gen COMMAND - for running an executable with cabal
  • cabal test - to run tests definted at ./test

Screenshots:

  • index.html screenshot

  • post.html screenshot

Credits:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published