You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pollen/pollen/scribblings/format-test.scrbl

47 lines
620 B
Racket

#lang scribble/manual
@(require "mb-tools.rkt")
@fileblock["hello" @bold{world}]
@codeblock|{
#lang pollen
◊define[greeting]{Plain @codeblock.}.
}|
@filebox["foo.html"]{
@codeblock|{
#lang pollen
◊define[greeting]{@codeblock wrapped in @filebox}.
}|}
@racketblock[
(define greeting
"Plain @racketblock")
]
@filebox["foo.html"]{
@racketblock[
(define greeting
"@racketblock wrapped in @filebox")
]}
@racketmod[racket/base
(define greeting
"Plain @racketmod")
]
@racketmod[#:file "foo.html" racket/base
(define greeting
"@racketmod with #:file argument")
]
@filebox["foo.html"]{
Plain #filebox
}