libasciidoc icon indicating copy to clipboard operation
libasciidoc copied to clipboard

Support for multiple attributes in ifdef and ifndef directives

Open xcoulon opened this issue 3 years ago • 0 comments

comma-separated attributes -> logical OR plus-separated attributes -> logical AND

eg:

ifdef::backend-html5,backend-docbook5[Only shown when converting to HTML5 or DocBook 5.]
ifdef::env-github+backend-html5[Only shown when converting to HTML5 on GitHub.]

xcoulon avatar Dec 27 '21 14:12 xcoulon