mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Better parsing of emphasis and strong elements
- Regex is based on original Perl regex. - Added more tests.
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
Here's *an emphasis*.
|
||||
|
||||
A short emphasis _a_ *b* .
|
||||
|
||||
Here's **a strong one**.
|
||||
|
||||
Here's _an emphasis that uses underscores_.
|
||||
|
||||
Here's __a strong emphasis that uses underscores__.
|
||||
|
||||
This is _ not an emphasis _.
|
||||
This is _ not an emphasis _ neither is * that * .
|
||||
|
||||
Empty emphasis ** is not __ an emphasis.
|
||||
|
||||
Three asterisks are an emphasized asterisk *** .
|
Reference in New Issue
Block a user