I have Hiccup.jl <https://github.com/one-more-minute/Hiccup.jl> which is
aimed at having the nicest possible syntax. Competition is always welcome,
though!

On 2 April 2015 at 20:43, Iain Dunning <[email protected]> wrote:

> I'm not aware of anything like that, but I've been using Mustache.jl as a
> very different means to similar ends.
>
> On Thursday, April 2, 2015 at 3:15:08 PM UTC-4, Michael Francis wrote:
>>
>> As part of a project I've been working on I have put together a small
>> package for generating well-formed html documents from Julia.
>>
>> Is there a similar package available? and if not is there any interest in
>> releasing this?
>>
>> The below is a simple example (attached is a sample output, there is not
>> doctype tag on the sample),
>>
>>
>> hdr   = [ h_th( "col$i") for i in 1:10 ]
>> rows  = [ h_tr( [ h_td( "Cell[$j,$i]") for i in 1:10]) for j in 1:5]
>> table = h_table( id = h_unique(), class = "display", border = 1, h_thead(
>> h_tr( hdr ) ), h_tbody(rows) )
>> html  = h_html( h_head( h_title( "My Simple HTML")), h_body( table ))
>> println( table )
>>
>>

Reply via email to