File tree Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -122,13 +122,14 @@ Eu mea munere vituperata constituam.
122
122
|===
123
123
|Input | Output | Example
124
124
125
- m|"foo\nbar"
125
+ m|"foo\nbar\nbaz "
126
126
l|foo
127
127
bar
128
+ baz
128
129
a|
129
130
[,ruby]
130
131
----
131
- puts "foo\nbar"
132
+ puts "foo\nbar\nbaz "
132
133
----
133
134
|===
134
135
Original file line number Diff line number Diff line change 237
237
}
238
238
}
239
239
240
+ .doc table .tableblock pre {
241
+ font-size : inherit;
242
+ }
243
+
240
244
.doc table .tableblock + * {
241
245
margin-top : 1.5rem ;
242
246
}
635
639
.doc .literalblock .title ,
636
640
.doc .listingblock .title ,
637
641
.doc .openblock .title ,
638
- .doc .tableblock caption {
642
+ .doc table .tableblock caption {
639
643
color : var (--caption-font-color );
640
644
font-size : calc (16 / var (--rem-base ) * 1rem );
641
645
font-weight : var (--caption-font-weight );
744
748
margin-top : 0 ;
745
749
}
746
750
747
- /* NEEDS REVIEW prevent pre in table from causing article to exceed bounds */
748
- .doc .tableblock pre ,
749
- .doc .listingblock .wrap pre {
750
- white-space : pre-wrap;
751
- }
752
-
753
- .doc pre .highlight code ,
751
+ .doc pre code ,
754
752
.doc .listingblock pre : not (.highlight ),
755
753
.doc .literalblock pre {
756
754
background : var (--pre-background );
760
758
padding : 0.75rem ;
761
759
}
762
760
761
+ /* NEEDS REVIEW prevent pre in table from causing article to exceed bounds */
762
+ .doc .listingblock .wrap pre code ,
763
+ .doc .listingblock .wrap pre : not (.highlight ),
764
+ .doc table .tableblock pre code ,
765
+ .doc table .tableblock pre : not (.highlight ) {
766
+ white-space : pre-wrap;
767
+ }
768
+
763
769
.doc pre .highlight {
764
770
position : relative;
765
771
}
You can’t perform that action at this time.
0 commit comments