Skip to content

Commit

Permalink
Render description as markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb-T-Owens committed Jan 24, 2025
1 parent 8e37aee commit 9427db8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import LinkButton from '@gitbutler/ui/LinkButton.svelte';
import Textarea from '@gitbutler/ui/Textarea.svelte';
import AvatarGroup from '@gitbutler/ui/avatar/AvatarGroup.svelte';
import Markdown from '@gitbutler/ui/markdown/Markdown.svelte';
import toasts from '@gitbutler/ui/toasts';
import dayjs from 'dayjs';
import relativeTime from 'dayjs/plugin/relativeTime';
Expand Down Expand Up @@ -174,7 +175,7 @@
>
</div>
{:else if branch.description}
<p class="text-13">{branch.description}</p>
<Markdown content={branch.description} />
<div>
<Button kind="outline" onclick={editSummary}>Change summary</Button>
</div>
Expand Down

0 comments on commit 9427db8

Please sign in to comment.