From b804936db01efb5e34165a9295a8201fca137b24 Mon Sep 17 00:00:00 2001 From: Ben Greenman Date: Fri, 8 May 2020 22:51:55 -0400 Subject: [PATCH] style: revert 1st example formatting Revert a change from #3060 The first example is now offset to the top-right, but makes the point it's supposed to make. Something is wrong is Scribble to make racketmod and fileblock look different. Once that's fixed, this example will be at peace. --- pkgs/racket-doc/scribblings/style/textual.scrbl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/racket-doc/scribblings/style/textual.scrbl b/pkgs/racket-doc/scribblings/style/textual.scrbl index 7fb272c415..1f08290f6d 100644 --- a/pkgs/racket-doc/scribblings/style/textual.scrbl +++ b/pkgs/racket-doc/scribblings/style/textual.scrbl @@ -30,15 +30,13 @@ your code. (define (conversion f) (* 5/9 (- f 32))) ] - @racketmod[#:file - @tt{really bad} - racket - + @filebox[@tt{really bad} ;; gotta use codeblock to keep the newlines + @codeblock{#lang racket (define (conversion f) (* 5/9 (- f 32) ) ) - ] + }] ] You are allowed to place all closing parenthesis on a line by itself at the