-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add current-html-render-head-prefix #270
base: master
Are you sure you want to change the base?
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.