kocotian.pl

My personal webpage sources
git clone git://git.kocotian.pl/kocotian.pl.git
Log | Files | Refs | README | LICENSE

commit afdd8a64347d9f5dd6273cafac4466ea3feec39f
parent e9ddc3ba0b86069b55b0d2bf51f3510f2efd11d3
Author: kocotian <kocotian@kocotian.pl>
Date:   Sat, 20 Mar 2021 20:54:21 +0100

README changes

Diffstat:
MREADME | 13++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/README b/README @@ -1,7 +1,10 @@ -kocotian -======== +stacinhtml +========== -Static page generator for my webpage wrote in C99. +Static C in HTML is a page generator wrote in C99 initially for my webpage. +This is a simple "compiler" that takes HTML with nested C code on input, and +produces HTML on output. Input and nesting C code was inspired by node.c +created by Tsoding (https://github.com/tsoding/node.c). Usage ===== @@ -21,8 +24,8 @@ Examples: @title My title @template blog -Template is HTML code, but can write nested code surrounded by `%` signs (like -in node.c by Tsoding). For example, this will print "Hello!" 255 times: +Template is HTML code, but can write nested code surrounded by `%` signs. +For example, this will print "Hello!" 255 times: <!DOCTYPE html> %for (int i = 0; i < 255; ++i) {%