You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mermaid.js should add support for defining exclusions, in multiple lines.
currently, if we have to exclude holidays, and weekends, we need to have a single line statement. (e.g. spring season in Denmark)
dateFormat DD-MM-YYYY
excludes weekends, 10-02-2025 11-02-2025 12-02-2025 13-02-2025 14-02-2025, 17-04-2025 18-04-2025 20-04-2025 21-04-2025, 01-05-2025, 29-05-2025, 05-06-2025, 08-06-2025 09-06-2025
however that is impossible for anyone to read, and it would be much better if we could split it up into multiple statements, that could be commented
dateFormat DD-MM-YYYY
excludes weekends,
Hi @ZcuBa, thanks for the well-explained feature request. Apologies for the delay.
This is a request to allow multiple excludes lines in Gantt charts, so that holiday exclusions can be organized with comments. Currently, all exclusions must be on a single line, which becomes unwieldy for long lists.
The proposed solution (concatenating all excludes statements) is clean and backward-compatible. We've labeled this as an enhancement and tagged for contributors.
Activity
ashishjain0512 commentedon Mar 2, 2026
[sisyphus-bot]
Hi @ZcuBa, thanks for the well-explained feature request. Apologies for the delay.
This is a request to allow multiple
excludeslines in Gantt charts, so that holiday exclusions can be organized with comments. Currently, all exclusions must be on a single line, which becomes unwieldy for long lists.The proposed solution (concatenating all
excludesstatements) is clean and backward-compatible. We've labeled this as an enhancement and tagged for contributors.ZcuBa commentedon Mar 2, 2026
Nice, this is something I have been looking forward to 😄
test(gantt): add cypress visual regression for multi-line excludes (m…
feat(gantt): support multiple excludes and includes lines (mermaid-js…
test(gantt): add cypress visual regression for multi-line excludes (m…
feat(gantt): support multiple excludes and includes lines (mermaid-js…
test(gantt): add cypress visual regression for multi-line excludes (m…