Skip to content

Commit 08b3423

Browse files
committed
Added italic test cases
1 parent fd45de6 commit 08b3423

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

Tests/Italics.mdown

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Should Match
2+
3+
_italic_
4+
5+
_italic italic_
6+
7+
_italic_regular
8+
9+
10+
# Should Not Match
11+
12+
regular_regular_regular
13+
14+
15+
# Should Not Match But Does
16+
17+
regular _italic_regular
18+
19+
20+
# Other Cases (Should not match)
21+
22+
__double underscores__
23+
24+
_raw_
25+
26+
raw_raw_raw
27+
28+
Lorem `ipsum_dolor_sit` amet
29+
30+
31+
# Exceptional Cases
32+
33+
$$y_i = \alpha_{j[i]} + \beta x_i + \epsilon_i$$
34+
35+
This is MathJax code which should be parsed separately, but shows just how loose the main spec is about what can be in italic.

0 commit comments

Comments
 (0)