-
-
Notifications
You must be signed in to change notification settings - Fork 8k
#4743: HTML formatting in timeline diagrams #6663
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
base: develop
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: dabc220 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
@mermaid-js/examples
mermaid
@mermaid-js/layout-elk
@mermaid-js/mermaid-zenuml
@mermaid-js/parser
@mermaid-js/tiny
commit: |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6663 +/- ##
==========================================
- Coverage 3.65% 3.65% -0.01%
==========================================
Files 455 454 -1
Lines 45589 45665 +76
Branches 709 709
==========================================
Hits 1668 1668
- Misses 43921 43997 +76
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the argos-ci for the PR. It is breaking existing diagram. Please fix this.
@@ -225,4 +225,18 @@ timeline | |||
{} | |||
); | |||
}); | |||
it('13: should render markdown htmlLabels', () => { | |||
const timelineCode = `%%{init: { 'logLevel': 'debug', 'theme': 'forest' } }%% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use new frontmatter
on-behalf-of: @Mermaid-Chart <[email protected]>
📑 Summary
HTML formatting is currently supported in Flow Chart and Class diagram labels but not in other diagram types like Timeline.
In Timeline diagrams, HTML tags are rendered as plain text or cause rendering issues which may break the label display.
Resolves #4743
📏 Design Decisions
Describe the way your implementation works or what design decisions you made if applicable.
📋 Tasks
Make sure you
MERMAID_RELEASE_VERSION
is used for all new features.pnpm changeset
and following the prompts. Changesets that add features should beminor
and those that fix bugs should bepatch
. Please prefix changeset messages withfeat:
,fix:
, orchore:
.