scribble-pp.scrbl (821B)
1 #lang scribble/manual 2 @(require "utils.rkt") 3 4 @title{Scribble as Preprocessor} 5 6 @author["Matthew Flatt" "Eli Barzilay"] 7 8 @section-index["Preprocessor"] 9 10 The @racketmodname[scribble/text] and @racketmodname[scribble/html] 11 languages act as ``preprocessor'' languages for generating text or 12 HTML. These preprocessor languages use the same @"@" syntax as the 13 main Scribble tool (see @other-doc['(lib 14 "scribblings/scribble/scribble.scrbl")]), but instead of working in 15 terms of a document abstraction that can be rendered to text and HTML 16 (and other formats), the preprocessor languages work in a way that is 17 more specific to the target formats. 18 19 @table-of-contents[] 20 21 @; ------------------------------------------------------------------------ 22 23 @include-section["text.scrbl"] 24 @include-section["html.scrbl"] 25 26 @index-section[]