
The `slideshow/code-pict' library is the same as `slideshow/code', but it works in non-GUI settings. Only the `slideshow/code' library connects the code font size to `current-font-size', though. The `code' macro, `define-code', etc., now support "code transformers", which are syntax bindings that trigger otherwise-unescaped transformations in the code to typeset (which can make the code easier to read and friendlier to auto-indentation).
8 lines
153 B
Racket
8 lines
153 B
Racket
#lang racket/base
|
|
(require slideshow
|
|
"code-pict.rkt")
|
|
|
|
(provide (all-from-out "code-pict.rkt"))
|
|
|
|
(get-current-code-font-size current-font-size)
|