You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have just discovered Mermaid for Markdown and so have set about building a Power-Up to render said markdown as an image on a card.
My thought was to let the user put the Markdown in the description like this:
```mermaid
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts <br/>prevail!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
```
I've looked at the documentation but I'm not sure which event to hook so I can retrieve the card Description and then render the image in an iFrame.
I was thinking card-detail-badges or maybe format-url... Does anyone have an recommendations?
TIA
Paul
Power-Ups get a section on the card back that you could control. It wouldn’t change how the description was rendered but below it on the card back you could draw whatever you wanted in that section.
Thanks @Michael Pryor , sounds like I don't really understand the anatomy of a card from a developer perspective.
Does such a thing exist in the documentation anywhere?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I will try hooking the card-back-section as you have suggested though... :D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.