<div dir="ltr">I haven't put together any documentation on it yet unfortunately. The most reliable place for examples is actually the runtests.hs program in the Hamlet repo. But a very quick intro: you can use #{var} and @{url} interpolation (I think it should work anywhere). Syntax is standard CSS, with the single addition for the moment of nested blocks. That means that:<div>
<br></div><div>foo, bar {</div><div> baz, bin {</div><div> color: red;</div><div> }</div><div>}</div><div><br></div><div>Results in:</div><div><br></div><div>foo baz, foo bin, bar baz, bar bin {</div><div> color: red;</div>
<div>}</div><div><br></div><div>I'll hopefully update the docs after 0.8 goes out.</div><div><br></div><div>Michael<br><div><br><div class="gmail_quote">On Tue, Apr 19, 2011 at 6:57 PM, Max Cantor <span dir="ltr"><<a href="mailto:mxcantor@gmail.com">mxcantor@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">are there any blog posts or entries or good sample code to see the syntax for lucius? is it the same as LESS but with #{xxx} interpolation?<br>
<br>
max<br>
_______________________________________________<br>
web-devel mailing list<br>
<a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
</blockquote></div><br></div></div></div>