Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better support for RTL/LTR characters #167

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions test/spec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,35 @@ A [punctuation character](@) is an [ASCII
punctuation character] or anything in
the general Unicode categories `Pc`, `Pd`, `Pe`, `Pf`, `Pi`, `Po`, or `Ps`.

```````````````````````````````` example
## head2 without rtl
‏## head2 with rtl
_underscore emph without rtl_
‏_underscore emph with rtl_
__underscore strong without rtl__
‏__underscore strong with rtl__
*asterisk emph without rtl*
‏*asterisk emph with rtl*
**astesirk strong without rtl**
‏**asterisk strong with rtl**
some text ‏_preceded with rtl_ another text
some text ‏*preceded with rtl* another text
.
<h2>head2 without rtl</h2>
<h2>head2 with rtl</h2>
<em>underscore emph without rtl</em>
<em>underscore emph with rtl</em>
<strong>underscore strong without rtl</strong>
<strong>underscore strong with rtl</strong>
<em>asterisk emph without rtl</em>
<em>asterisk emph with rtl</em>
<strong>astesirk strong without rtl</strong>
<strong>asterisk strong with rtl</strong>
some text <em>preceded with rtl</em> another text
some text <em>preceded with rtl</em> another text

````````````````````````````````

## Tabs

Tabs in lines are not expanded to [spaces]. However,
Expand Down