Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,473
Community Members
 
Community Events
176
Community Groups

Can I display card Description in a different format

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

1 answer

0 votes

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?

I will try hooking the card-back-section as you have suggested though... :D

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events