Re: [racket-users] Modernizing scribble/html

2016-05-01 Thread Eli Barzilay
On Fri, Apr 15, 2016 at 3:50 PM, Jens Axel Søgaard wrote: > Hi All, > > The library scribble/html paired with at-expressions provide a really > nice way to write html: > > @html[@head[@title{This is a title}] > @body[@h1{This is a header} > @p{This is a paragraph with text}

Re: [racket-users] Modernizing scribble/html

2016-04-15 Thread Sam Tobin-Hochstadt
Yes, I think the simple solution is the right one. Sam On Fri, Apr 15, 2016 at 3:50 PM, Jens Axel Søgaard wrote: > Hi All, > > The library scribble/html paired with at-expressions provide a really nice > way to write html: > > @html[@head[@title{This is a title}] > @body[@h1{This

Re: [racket-users] Modernizing scribble/html

2016-04-15 Thread Neil Van Dyke
Er, if you're just asking about something that will be used only with Scribble, disregard most of my message. Neil Van Dyke wrote on 04/15/2016 04:06 PM: XHTML is dead. I would work from HTML5, and keep HTML 4.x in mind. I have considered a struct representation, and would definitely do that

Re: [racket-users] Modernizing scribble/html

2016-04-15 Thread Neil Van Dyke
XHTML is dead. I would work from HTML5, and keep HTML 4.x in mind. I have considered a struct representation, and would definitely do that if I were writing a Web browser, but for now, there's too much reason to just use SXML and all the tools around it. Note that for some purposes, an all-p

[racket-users] Modernizing scribble/html

2016-04-15 Thread Jens Axel Søgaard
Hi All, The library scribble/html paired with at-expressions provide a really nice way to write html: @html[@head[@title{This is a title}] @body[@h1{This is a header} @p{This is a paragraph with text}]] The library represents html as structures. Each ht