basic.scrbl (790B)
1 #lang scribble/manual 2 @(require "utils.rkt" (for-label (only-in scribble/basic span-class))) 3 4 @(define (compat) 5 @italic{For backward compatibility.}) 6 7 @title[#:tag "basic"]{Compatibility Basic Functions} 8 9 @defmodule[scribble/basic]{The @racketmodname[scribble/basic] 10 compatibility library mostly just re-exports 11 @racketmodname[scribble/base].} 12 13 @defproc[(span-class [style-name string?] [pre-content any/c] ...) 14 element?]{ 15 16 @compat[] Wraps the @tech{decode}d 17 @racket[pre-content] as an element with style @racket[style-name].} 18 19 20 21 @defproc[(itemize [itm (or/c whitespace? an-item?)] ... 22 [#:style style (or/c style? string? symbol? #f) #f]) 23 itemization?]{ 24 25 @compat[] Like @racket[itemlist], but whitespace strings among the 26 @racket[itm]s are ignored.}