scribble-enhanced/scribble-doc/scribblings/scribble/basic.scrbl
2014-12-02 00:54:52 -05:00

27 lines
790 B
Racket

#lang scribble/manual
@(require "utils.rkt" (for-label (only-in scribble/basic span-class)))
@(define (compat)
@italic{For backward compatibility.})
@title[#:tag "basic"]{Compatibility Basic Functions}
@defmodule[scribble/basic]{The @racketmodname[scribble/basic]
compatibility library mostly just re-exports
@racketmodname[scribble/base].}
@defproc[(span-class [style-name string?] [pre-content any/c] ...)
element?]{
@compat[] Wraps the @tech{decode}d
@racket[pre-content] as an element with style @racket[style-name].}
@defproc[(itemize [itm (or/c whitespace? an-item?)] ...
[#:style style (or/c style? string? symbol? #f) #f])
itemization?]{
@compat[] Like @racket[itemlist], but whitespace strings among the
@racket[itm]s are ignored.}