add current-html-render-head-prefix#270
Conversation
|
I'm working on a Scribble site where I want to put Google Analytics on every page. I know I can do this with a https://docs.racket-lang.org/scribble/config-style.html I can only add files to the output, add CSS, and add to the prefix. Since the prefix is before the HTML tag, I can't use it to insert things into the head. |
|
Ping @mflatt |
|
Sorry that I missed this, even with the ping. I like the idea of a way to set a head addition everywhere, but I think it still works better to make it a property — one that gets propagated automatically to nested parts that are on their own page, or even lifted to the enclosing page if the property is no a same-page nested section. That's how |
|
... and maybe Rechecking the documentation, I don't think it's clear on |
|
Since I ended up spending time in this area, here's a specific proposal: mflatt@7c7e121 |
|
Thank you! I think this is good and would solve my problems. <3
If you're touching this code, something related that I'd like Scribble
to have built-in is a way to deal with this problem:
wilbowma/scribble-minted@12360be
With scribble-minted, every minted block has to include a css file for
the particular language stylesheet, and this ends up with hundreds of
`style` blocks.
…--
Jay McCarthy
Associate Professor @ CS @ UMass Lowell
http://jeapostrophe.github.io
Vincit qui se vincit.
On Fri, Nov 6, 2020 at 1:51 PM Matthew Flatt ***@***.***> wrote:
Since I ended up spending time in this area, here's a specific proposal: ***@***.***
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
No description provided.