The following works as expected when compiled with AsciiDoctor. But the AsciiDocFX previewer only displays the test inside the var-1 conditional block (var-2 conditional block does not get displayed).
= AsciiDocFX Bug
// var-1 is in the document header
:var-1:
// var-2 is not in the document header
:var-2:
ifdef::var-1[]
var-1 is included
endif::[]
ifdef::var-2[]
var-2 is included...or at least it should be
endif::[]
The following works as expected when compiled with AsciiDoctor. But the AsciiDocFX previewer only displays the test inside the var-1 conditional block (var-2 conditional block does not get displayed).