Skip to content

Added support for variables in cards and description#3116

Merged
mnocon merged 2 commits into5.0from
variables-in-cards
Apr 20, 2026
Merged

Added support for variables in cards and description#3116
mnocon merged 2 commits into5.0from
variables-in-cards

Conversation

@mnocon
Copy link
Copy Markdown
Contributor

@mnocon mnocon commented Mar 31, 2026

This PR makes it possible to use variables in the title header and in the description frontmatter and have it correctly parsed by MkDocs and the cards macro.

You can see that it works in:

Disclaimer: I've used Copilot when writing this

Screenshot 2026-04-20 at 09 57 01

@github-actions
Copy link
Copy Markdown

Preview of modified files

Preview of modified Markdown:

@mnocon mnocon mentioned this pull request Apr 14, 2026
@mnocon mnocon changed the title Added variable support to cards and description macro Added support for variables in cards and description Apr 20, 2026
@mnocon mnocon marked this pull request as ready for review April 20, 2026 08:01
@mnocon mnocon requested a review from a team April 20, 2026 08:01
@ibexa-workflow-automation-1 ibexa-workflow-automation-1 bot requested review from adriendupuis, dabrt and julitafalcondusza and removed request for a team April 20, 2026 08:02
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Copy link
Copy Markdown
Contributor

@adriendupuis adriendupuis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally with # [[= product_name_engage =]] [[= product_name_base =]] to ensure parsing and replacement don't fail. It worked properly.

@mnocon mnocon merged commit fcdea1e into 5.0 Apr 20, 2026
10 of 11 checks passed
@mnocon mnocon deleted the variables-in-cards branch April 20, 2026 10:08
mnocon added a commit that referenced this pull request Apr 20, 2026
Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants