[racket] Injecting HTML into a scribble document?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Jun 23 12:57:14 EDT 2011

See `attributes' from `scribble/html-properties'.

Here's an example for IFRAME:


To add tags to HEAD, the rendering of the top-level `part' needs to
extract HTML attributes from the part's style; I'll add that soon.

At Thu, 23 Jun 2011 11:56:26 -0400, Danny Yoo wrote:
> I'd like to be able to inject some HTML fragments into a Scribble
> document, so that when the Scribble documentation renders to html,
> those fragments are carried along.
>   * For example, if I have a Google Analytics snippet that needs to be
> injected within the <head/> of the document, I'd like to have that
> done at the documentation generation time, rather than as a separate
> step.
>   * As another hypothetical scenario, I might want to add an IFRAME to
> another html site, embedded within the flow of my document.
> Both of these are very specific to HTML rendering, so they probably
> wouldn't be relevant if one is Scribbling to the other formats (PDF,
> text)
> Do such mechanisms already exist in Scribble?  If so, what should I be
> looking at?
> _________________________________________________
>   For list-related administrative tasks:
>   http://lists.racket-lang.org/listinfo/users

Posted on the users mailing list.