This is a holder post, since I don't have the right to post URLs as first post (pretty understandable !).
So the post is just here down :
So the post is just here down :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@# Lines that start with "@#" are comments
@# The very first line is just some standard HTML. < and > are not escaped
@# and thus are interpreted as regular HTML. \< and \> give < and >
@# though.
@# This is a python statement that imports a module
@# This module actually gives a macro that allows us to make some
@# inline CSS in a simpler fashion. See below.
@${ include ("python/css.py") }
@# This is inline python
@${ color = "#111" }
@html
@head
@# Here we see an attribute
@style type="text/css"
@$ { css_transform () } @# This node's children are CSS statements !
p.big
font-weight: bold
color: @${ color }
em @# This will translate to p.big em { font-size: 2em }
font-size: 2em
@# Unindenting just closes the tags !
@body
@p .big #someid This is a paragraph, with
some @em{inline emphasized text}. Its id is "someid" and its class is
"big".