@@ -80,7 +80,7 @@ class KatexExample extends ContentExample {
80
80
81
81
static final mathBlockKatexNestedSizing = KatexExample .block (
82
82
'math block; KaTeX nested sizing' ,
83
- ' \\ tiny {1 \ \ Huge 2}' ,
83
+ r'\ tiny {1 \Huge 2}' ,
84
84
'<p>'
85
85
'<span class="katex-display"><span class="katex">'
86
86
'<span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mstyle mathsize="0.5em"><mrow><mn>1</mn><mstyle mathsize="2.488em"><mn>2</mn></mstyle></mrow></mstyle></mrow>'
@@ -108,7 +108,7 @@ class KatexExample extends ContentExample {
108
108
static final mathBlockKatexDelimSizing = KatexExample .block (
109
109
'math block; KaTeX delimiter sizing' ,
110
110
// https://chat.zulip.org/#narrow/channel/7-test-here/topic/Rajesh/near/2147135
111
- '⟨ \\ big( \\ Big[ \\ bigg⌈ \ \ Bigg⌊' ,
111
+ r '⟨ \big( \Big[ \bigg⌈ \Bigg⌊' ,
112
112
'<p>'
113
113
'<span class="katex-display"><span class="katex">'
114
114
'<span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mo stretchy="false">⟨</mo><mo fence="false" stretchy="true" minsize="1.2em" maxsize="1.2em">(</mo><mo fence="false" stretchy="true" minsize="1.8em" maxsize="1.8em">[</mo><mo fence="false" stretchy="true" minsize="2.4em" maxsize="2.4em">⌈</mo><mo fence="false" stretchy="true" minsize="3em" maxsize="3em">⌊</mo></mrow>'
@@ -188,7 +188,7 @@ class KatexExample extends ContentExample {
188
188
static final mathBlockKatexSuperscript = KatexExample .block (
189
189
'math block, KaTeX superscript; single vlist-r, single vertical offset row' ,
190
190
// https://chat.zulip.org/#narrow/channel/7-test-here/topic/Rajesh/near/2176734
191
- 'a \' ' ,
191
+ "a'" ,
192
192
'<p>'
193
193
'<span class="katex-display"><span class="katex">'
194
194
'<span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msup><mi>a</mi><mo mathvariant="normal" lspace="0em" rspace="0em">′</mo></msup></mrow>'
@@ -360,7 +360,7 @@ class KatexExample extends ContentExample {
360
360
static final mathBlockKatexRaisebox = KatexExample .block (
361
361
'math block, KaTeX raisebox; single vlist-r, single vertical offset row' ,
362
362
// https://chat.zulip.org/#narrow/channel/7-test-here/topic/Rajesh/near/2176739
363
- 'a\\ raisebox{0.25em}{\$ b \ $ }c' ,
363
+ r 'a\raisebox{0.25em}{$b $}c' ,
364
364
'<p>'
365
365
'<span class="katex-display"><span class="katex">'
366
366
'<span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>a</mi><mpadded voffset="0.25em"><mstyle scriptlevel="0" displaystyle="false"><mstyle scriptlevel="0" displaystyle="false"><mi>b</mi></mstyle></mstyle></mpadded><mi>c</mi></mrow>'
@@ -402,7 +402,7 @@ class KatexExample extends ContentExample {
402
402
static final mathBlockKatexNegativeMargin = KatexExample .block (
403
403
'math block, KaTeX negative margin' ,
404
404
// https://chat.zulip.org/#narrow/channel/7-test-here/topic/Rajesh/near/2223563
405
- '1 \ \ ! 2' ,
405
+ r '1 \! 2' ,
406
406
'<p>'
407
407
'<span class="katex-display"><span class="katex">'
408
408
'<span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mn>1</mn><mtext> </mtext><mn>2</mn></mrow><annotation encoding="application/x-tex">1 \\ ! 2</annotation></semantics></math></span>'
@@ -425,7 +425,7 @@ class KatexExample extends ContentExample {
425
425
static final mathBlockKatexLogo = KatexExample .block (
426
426
'math block, KaTeX logo' ,
427
427
// https://chat.zulip.org/#narrow/channel/7-test-here/topic/Rajesh/near/2141902
428
- ' \ \ KaTeX' ,
428
+ r' \KaTeX' ,
429
429
'<p>'
430
430
'<span class="katex-display"><span class="katex">'
431
431
'<span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mtext>KaTeX</mtext></mrow>'
0 commit comments