ok
This commit is contained in:
@@ -2,16 +2,20 @@
|
|||||||
|
|
||||||
@(require
|
@(require
|
||||||
scribble/example
|
scribble/example
|
||||||
(prefix-in html scribble/html/html)
|
scribble/core
|
||||||
(prefix-in extra scribble/html/extra)
|
|
||||||
(for-label ;racket
|
(for-label ;racket
|
||||||
;racket/base
|
;racket/base
|
||||||
;racket/string
|
;racket/string
|
||||||
racket/gui
|
racket/gui
|
||||||
;racket/file
|
;racket/file
|
||||||
)
|
)
|
||||||
|
;scribble/html/html
|
||||||
|
;scribble/html/extra
|
||||||
@(for-label ellipsis-msg))
|
@(for-label ellipsis-msg))
|
||||||
|
|
||||||
|
@(define(exact . items)
|
||||||
|
(make-element (make-style "identity" '(exact-chars))
|
||||||
|
items))
|
||||||
|
|
||||||
@title[#:tag "ellipsis-msg"]{A message% with ellipsis (...) to the left or right}
|
@title[#:tag "ellipsis-msg"]{A message% with ellipsis (...) to the left or right}
|
||||||
|
|
||||||
@@ -55,7 +59,7 @@ See also @racket[message%].
|
|||||||
|
|
||||||
The code underneath produces the following output:
|
The code underneath produces the following output:
|
||||||
|
|
||||||
(html:output-xml{extra:video "scribblings/example.mp4"))
|
@exact{(<video src="scribblings/example.mp4"></video>)}
|
||||||
|
|
||||||
@#reader scribble/comment-reader
|
@#reader scribble/comment-reader
|
||||||
[racketblock
|
[racketblock
|
||||||
|
|||||||
Reference in New Issue
Block a user