atom-language-asciidoc icon indicating copy to clipboard operation
atom-language-asciidoc copied to clipboard

Single line ifdef with brackets inside

Open lucascosti opened this issue 8 years ago • 0 comments

Description

I have a single line ifdef (or ifndef) that has an xref in the included content. The square brackets of the xref breaks the ifdef highlighting. Not sure if this is the same issue as #131.

Screenshots

asciidoc-language-ifdef

Syntax example

// This para for regular OpenShift only
ifndef::eap-openshift-online[After you have completed the xref:installation_initial_setup[initial setup] instructions, this section helps you get started with {xpaasproduct-shortname} by performing the required preliminary steps before you can install the image on OpenShift. This process consists of the following steps:]

// This para for OpenShift Online only
ifdef::eap-openshift-online[This section helps you get started with {xpaasproduct-shortname} by performing the required preliminary steps before you can install the image on OpenShift. This process consists of the following steps:]

lucascosti avatar Dec 11 '17 04:12 lucascosti