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

monospace bold phrase highlights #179

Open gaurav-nelson opened 7 years ago

gaurav-nelson commented 7 years ago

Description

Monospace bold phrases are not highlighted correctly. The quick reference example lists the monospace bold phrase as `*monospace bold phrase*` that is a backtick before an asterisk. This gets no special highlighting. But if we put an asterisk before a backtick (like *`monospace bold phrase`*), the phase gets highlighted.

I think this should be the other way around.

Screenshots

http://imgur.com/btbPS4l image

PS: It messes up with the preview as well image

Syntax example

`*monospace bold phrase*`
mojavelinux commented 7 years ago

Technically both are acceptable. I think we should either support both or support the one in the quick reference guide.

gaurav-nelson commented 7 years ago

In that case, I agree with you that both should be supported.