Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiple attributes in ifdef and ifndef directives #890

Open
xcoulon opened this issue Dec 27, 2021 · 0 comments
Open

Support for multiple attributes in ifdef and ifndef directives #890

xcoulon opened this issue Dec 27, 2021 · 0 comments

Comments

@xcoulon
Copy link
Member

xcoulon commented Dec 27, 2021

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 xcoulon added this to the v0.7.0 milestone Dec 27, 2021
@xcoulon xcoulon self-assigned this Dec 27, 2021
@xcoulon xcoulon modified the milestones: v0.7.0, backlog Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant