Groups
Sign in
Groups
Racket Users
Conversations
About
Send feedback
Help
Can I insert an SSI directive via scribble?
20 views
Skip to first unread message
Kathi Fisler
unread,
Jul 10, 2018, 9:31:58 AM
7/10/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Racket Users
I am using scribble to generate html, and need the generated html to include an SSI directive.
Can I do this through scribble? I tried working with sxml->element, but don't see how to generate comment tags from sxml.
thanks,
Kathi
Ben Greenman
unread,
Jul 10, 2018, 11:04:45 AM
7/10/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Kathi Fisler, Racket Users
I used this function to put comments in `scribble/html` files, maybe
it'll work for you?
@(define (comment . content)
@literal[@list[" <!-- " content " --> "]])
Source:
https://github.com/nuprl/website/blob/master/templates.rkt#L24
Kathi Fisler
unread,
Jul 10, 2018, 9:57:31 PM
7/10/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to benjamin...@gmail.com, racket...@googlegroups.com
I hadn't know about literal -- thanks! I'm making headway now.
Kathi
Reply all
Reply to author
Forward
0 new messages