asciidoctor / atom-language-asciidoc

⚛ AsciiDoc language package for the Atom editor.
https://atom.io/packages/language-asciidoc
MIT License
42 stars 20 forks source link

Nested inline style #131

Open ldez opened 8 years ago

ldez commented 8 years ago

Description

Nested inline style.

Screenshots

AsciiDoctor rendering: capture du 2016-05-21 11-09-21

screen shot 2016-05-21 at 10 51 16

Syntax example

the *foo _bar_* is here.

the *foo b__ar__* is here.

the _foo b**ar**_ is here.

the _foo *bar*_ is here. Strange behaviour*

the _foo *bar* bar_ is here.
this "`quote with *strong* text`" is odd

this *"`strong quote`"* is just fine
mojavelinux commented 8 years ago

Nice test cases!

Keep in mind, the syntax highlighting should only go as far as what Asciidoctor itself supports. If you find an edge case that doesn't work in Asciidoctor, I think it's safe to assume no one would be typing that.

...once we resolve https://github.com/asciidoctor/asciidoctor/issues/61 in core, then we should stop getting the strange behavior you cited.