scribble
scribble copied to clipboard
racketblock always prints decimal numbers
racketblock
throws away the original format of numbers in code, replacing them with their equivalent decimal representation.
For instance, this example produces a document with 255
instead of #xff
:
#lang scribble/base
@(require scribble/manual)
@racketblock[#xff]
Yes, that's a limitation of racketblock
. The code
form uses a different approach that preserves the original format of a number.
Could we fix this by using the same syntax property approach that's used for []?