Adding HTML attributes to Scribble `subsubsection`

Given the described bug, it's currently impossible to add a style attribute to a subsubsection. However, it's possible to go the other way around and add an alt-tag property to an elem/element.

Therefore, my workaround now is:

@(define entry-subsection-style
   (make-style
     #f
     (list (alt-tag "h5")
           (attributes '((style . "border: none;
                                   padding-top: 0px;
                                   margin-top: 1em;
                                   font-size: 1.4rem;"))))))

@(define (entry-subsection text)
   (elem #:style entry-subsection-style text)))
1 Like