tajmone / ST4-Asciidoctor

AsciiDoc Package for SublimeText 4
https://tajmone.github.io/ST4-Asciidoctor
MIT License
11 stars 6 forks source link

Constrained Highlight/Mark Broken #2

Closed tajmone closed 3 years ago

tajmone commented 3 years ago

The constrained mark element (mark) had to be temporarily disabled because it was causing major documents disruptions (this element was possibly the main problem in the original syntax).

The problem affects the constrained variant only; the unconstrained mark element (mark_double) is still enabled, tested for, and working fine.

  ##################
  # MARK CONSTRAINED
  ##################
  # Was: "MARK"
  # Marked text (constrained variant).
  # Examples:
  #   #Lorem ipsum# dolor
  #   [red]#Lorem ipsum# dolor

From my annotated comments, it seems that the problem is in the optional "start with attribute" definition, which matches wildly.

References