Re: [racket-users] multi line scribble text body in web-server template

2020-11-01 Thread krs...@gmail.com
This is so cool, thank you both! So my quick fix is: @when[#t]{ @list{ line1 line2 line3 } } And I have been using that Iteration Gotchas code, but I was using it blindly. Now I can reason thru it better. On Sunday, November 1, 2020 at 12:41:22 PM UTC-5 jay.mc...@gmail.com wrote: > This sec

Re: [racket-users] multi line scribble text body in web-server template

2020-11-01 Thread Jay McCarthy
This section of the documentation discusses a similar issue that may help you: https://docs.racket-lang.org/web-server/templates.html?q=web%20server#%28part._.Gotchas__.Iteration%29 -- Jay McCarthy Associate Professor @ CS @ UMass Lowell http://jeapostrophe.github.io Vincit qui se vincit. On Su

Re: [racket-users] multi line scribble text body in web-server template

2020-11-01 Thread Ben Greenman
Thats the nor On 11/1/20, krs...@gmail.com wrote: > > Hi!, > > I am using web-server/templates > . > I am confused why this just displays the last line?: > > @when[#t]{ > first > second > } That's normal "when" behavior ```

[racket-users] multi line scribble text body in web-server template

2020-11-01 Thread krs...@gmail.com
Hi!, I am using web-server/templates . I am confused why this just displays the last line?: @when[#t]{ first second } I including html only when a user is logged in, and my issue can be distilled to the above template synt