@@ -1265,6 +1265,37 @@ class ContentExample {
1265
1265
]),
1266
1266
]);
1267
1267
1268
+ static const mathBlockKatexBigOperators = ContentExample (
1269
+ 'math block katex big operators' ,
1270
+ // https://chat.zulip.org/#narrow/channel/7-test-here/topic/Rajesh/near/2203220
1271
+ '```math\n\\ bigsqcup\n ```' ,
1272
+ '<p>'
1273
+ '<span class="katex-display"><span class="katex">'
1274
+ '<span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mo>⨆</mo></mrow><annotation encoding="application/x-tex">\\ bigsqcup</annotation></semantics></math></span>'
1275
+ '<span class="katex-html" aria-hidden="true">'
1276
+ '<span class="base">'
1277
+ '<span class="strut" style="height:1.6em;vertical-align:-0.55em;"></span>'
1278
+ '<span class="mop op-symbol large-op" style="position:relative;top:0em;">⨆</span></span></span></span></span></p>' ,
1279
+ [
1280
+ MathBlockNode (
1281
+ texSource: '\\ bigsqcup' ,
1282
+ nodes: [
1283
+ KatexSpanNode (
1284
+ styles: KatexSpanStyles (),
1285
+ text: null ,
1286
+ nodes: [
1287
+ KatexStrutNode (heightEm: 1.6 , verticalAlignEm: - 0.55 ),
1288
+ KatexSpanNode (
1289
+ styles: KatexSpanStyles (
1290
+ topEm: 0.0 ,
1291
+ fontFamily: 'KaTeX_Size2' ,
1292
+ position: KatexSpanPosition .relative),
1293
+ text: '⨆' ,
1294
+ nodes: null ),
1295
+ ]),
1296
+ ]),
1297
+ ]);
1298
+
1268
1299
static const imageSingle = ContentExample (
1269
1300
'single image' ,
1270
1301
// https://chat.zulip.org/#narrow/stream/7-test-here/topic/Thumbnails/near/1900103
@@ -2341,6 +2372,7 @@ void main() async {
2341
2372
testParseExample (ContentExample .mathBlockKatexVertical3);
2342
2373
testParseExample (ContentExample .mathBlockKatexVertical4);
2343
2374
testParseExample (ContentExample .mathBlockKatexVertical5);
2375
+ testParseExample (ContentExample .mathBlockKatexBigOperators);
2344
2376
2345
2377
testParseExample (ContentExample .imageSingle);
2346
2378
testParseExample (ContentExample .imageSingleNoDimensions);
0 commit comments