You'll have to drop down to HTML, more or less, by using `alt-tag` and

 @(require scribble/core
 @elem[#:style (style #f
                      (list (alt-tag "img")
                            (attributes (list (cons 'src "http://foo.gif";)
                                              (cons 'alt "bar")))))]

At Tue, 2 Jan 2018 14:19:22 -0800 (PST), Kathi Fisler wrote:
> I'm using Scribble and trying to end up with
>     <img src="http://foo.gif"; alt="bar">
> If I call (image "http://foo.gif"; "bar"), I get an error as Scribble tries 
> to treat the url as a path.
> How can I use a URL for the src attribute?
> thanks,
> Kathi

You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to