@@ -35,6 +35,10 @@ padding words to push the risky token over the edge padding words to push the >
3535text then
3636 - item
3737
38+ A math span starting a line after a hard break stays behind four spaces
39+ $$\
40+ b $$ c
41+
3842==================== Output ====================
3943---------------------------------------
4044{ printWidth : 80 , proseWrap : " always" }
@@ -81,6 +85,10 @@ not a quote tail words.
8185
8286text then - item
8387
88+ A math span starting a line after a hard break stays behind four spaces
89+ $$ \
90+ b $$ c
91+
8492----------------------------------------
8593{ printWidth : 100 , proseWrap : " always" }
8694----------------------------------------
@@ -117,6 +125,10 @@ words.
117125
118126text then - item
119127
128+ A math span starting a line after a hard break stays behind four spaces
129+ $$\
130+ b $$ c
131+
120132--------------------------------------
121133{ printWidth : 80 , proseWrap : " never" }
122134--------------------------------------
@@ -151,6 +163,10 @@ padding words to push the risky token over the edge padding words to push the >
151163
152164text then - item
153165
166+ A math span starting a line after a hard break stays behind four spaces
167+ $$ \
168+ b $$ c
169+
154170-------------------------------------- -
155171{ printWidth : 100 , proseWrap : " never" }
156172-------------------------------------- -
@@ -185,6 +201,10 @@ padding words to push the risky token over the edge padding words to push the >
185201
186202text then - item
187203
204+ A math span starting a line after a hard break stays behind four spaces
205+ $$\
206+ b $$ c
207+
188208-----------------------------------------
189209{ printWidth : 80 , proseWrap : " preserve" }
190210-----------------------------------------
@@ -219,6 +239,10 @@ padding words to push the risky token over the edge padding words to push the >
219239
220240text then - item
221241
242+ A math span starting a line after a hard break stays behind four spaces
243+ $$ \
244+ b $$ c
245+
222246------------------------------------------
223247{ printWidth : 100 , proseWrap : " preserve" }
224248------------------------------------------
@@ -253,4 +277,8 @@ padding words to push the risky token over the edge padding words to push the >
253277
254278text then - item
255279
280+ A math span starting a line after a hard break stays behind four spaces
281+ $$\
282+ b $$ c
283+
256284===================== End =====================
0 commit comments