Download installer for your platform from following links
- windows → pigmgr_windows_386
- mac → pigmgr_darwin_amd64
- linux → pigmgr_linux_386
For linux and mac user, you should make the installer executable, for example
chmod +x pigmgr_darwin_amd64
Then you can run pigmgr_xxx
from command line and finish the installation.
Find the PDF in here
Notice
You should use a full functional text editor such as
notepad++
,vs code editor
,sublime
, orvim
and so on.
But but but not the editor such as windows's notepad! Please!
The text format must be unix
type (which means that its newline character should be \n
but not else something)
A sample note could be found here http://ahageek.com/writer/posts/msb-and-lsb/index.html
You may add a .txt
suffix to the link and open the source text file
http://ahageek.com/writer/posts/msb-and-lsb/index.html.txt
To generate a note (let us assume that the text name is msb-and-lsb.txt
), you could
run
pigger msb-and-lsb.txt
Then open msb-and-lsb/index.html
to see the magic.
A sample blog is http://ahageek.com/writer/site.html
To generate a static blog(lets assume that the blog root is writer
), you just need one
command line
pigger new writer
Then you get a static blog!
In writer
directory, you write a simple text file(must has a suffix .txt
) following the
document format, then run
pigger build
pigger
will render all your files into beautiful htmls.
Push writer
into the secondary domain of github, then you are done!
If you like pigger
, please give pigger
a star.
MIT License