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

Inline strong not higlhighted in table #142

Closed nicorikken closed 8 years ago

nicorikken commented 8 years ago

Inline strong content is valid, but not properly recognized.

|===
|*TBD*|*TBD*
|SN:  |SN:
|VC:  |VC:
|MAC: |MAC:
|===

screen shot 2016-05-24 at 14 45 48

Scopes at Cursor (first strong, not recognized)

Scopes at Cursor (right strong, recognized)

Also confirmed for emphasis. So the issue at hand here, is that inline between two pipes is not properly higlighted.

A similar edge-case

screen shot 2016-05-24 at 14 54 11

Which renders like:

screen shot 2016-05-24 at 14 55 04
ldez commented 8 years ago

you must have a space between columns.

|===
|*TBD* |*TBD*
|SN:   |SN:
|VC:   |VC:
|MAC:  |MAC:
|===
nicorikken commented 8 years ago

Right, trailing space is suggested in the manual, but not clearly stated. The preview happily accepts it. I can agree leaving this be, as this can at least be considered bad practice.