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

Escaping sequence for `]` in inline stem #193

Open Paalon opened 5 years ago

Paalon commented 5 years ago

Description

Inline stem escaping sequence \] as ] is not correctly highlighted in language-asciidoc@1.11.0.

https://asciidoctor.org/docs/user-manual/#stem-in

Screenshots

スクリーンショット 2019-07-19 20 25 21

スクリーンショット 2019-07-19 20 24 07

Syntax example

= test
:stem: latexmath

stem:[\mathbb{E}_x [ f(x) \] + \mathbb{E}_x [ g(x) \]]