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

Conditional text #1053

Merged
merged 4 commits into from
Jun 30, 2022
Merged

Conditional text #1053

merged 4 commits into from
Jun 30, 2022

Conversation

fekete-robert
Copy link
Collaborator

The conditional-text shortcode allows you to show or hide parts of your content depending on the value of the buildCondition parameter set in your configuration file. This can be useful if you are generating different builds from the same source, for example, using a different product name. This shortcode helps you handle the minor differences between these builds.

@LisaFC
Copy link
Collaborator

LisaFC commented Jun 30, 2022

Oh this is really nice! Thanks so much for adding it (and documenting it too).

@LisaFC LisaFC merged commit 73440c9 into google:main Jun 30, 2022
fekete-robert added a commit to fekete-robert/docsy that referenced this pull request Sep 13, 2022
* Adds conditional-text shortcode

* Documents conditional-text shortcode

* Typo correction

Co-authored-by: LisaFC <lcarey@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants