scribble icon indicating copy to clipboard operation
scribble copied to clipboard

code:hilite and indentation correction depends on paren shape?

Open default-kramer opened this issue 5 years ago • 0 comments

In the following example, why does the second form typeset differently than the first? Could we change the second to match the first, or would this be a breaking change?

#lang scribble/manual

@(racketblock
  ; indentation correction works as desired:
  (foo bar
       (code:hilite [define baz
                     (get-baz bar)])
       baz)
  ; indentation correction does not work:
  (foo bar
       (code:hilite (define baz
                      (get-baz bar)))
       baz))

default-kramer avatar May 16 '20 17:05 default-kramer