Skip to content

Commit

Permalink
Added italic test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
infininight committed May 15, 2017
1 parent fd45de6 commit 08b3423
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions Tests/Italics.mdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Should Match

_italic_

_italic italic_

_italic_regular


# Should Not Match

regular_regular_regular


# Should Not Match But Does

regular _italic_regular


# Other Cases (Should not match)

__double underscores__

_raw_

raw_raw_raw

Lorem `ipsum_dolor_sit` amet


# Exceptional Cases

$$y_i = \alpha_{j[i]} + \beta x_i + \epsilon_i$$

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 comments on commit 08b3423

Please sign in to comment.