Cyblog Docs
Index
- Installing Cyblog
- The manual - Read the manual and familiarise yourself with Cyblog!
- Templates - Read about templates.
- Basics of Cyblog - A basic intro to Cyblog.
Basics of Cyblog
- Install Cyblog using the instructions in the README.
- Put the following into a file and save it as
hello.cyblog
.
@title Hello, world!
-->
Hello, world!
- Run Cyblog with
cyblog hello.cyblog
.
- Congrats! You just wrote your first Cyblog document. The result should be
saved as
hello-dist.html
, which you can now open with your favourite browser.
- To learn more about Cyblog syntax, read the manual and
examples/demo.cyblog
.
Building directories
- Run Cyblog with
cyblog dirname
to build an entire directory. Cyblog
recursively walks the directory tree and builds all the .md
and .cyblog
files it finds, preserving nested folders, etc.
- The result should be stored in
dirname-dist
. Cyblog will simply copy over
any files it doesn't understand.