(text: string, color: string)
| 89 | } |
| 90 | |
| 91 | export function shieldsBadge(text: string, color: string): InlineText { |
| 92 | return md.image( |
| 93 | `https://img.shields.io/badge/${encodeURIComponent(text)}-${color}`, |
| 94 | text, |
| 95 | ); |
| 96 | } |
| 97 | |
| 98 | export function formatDiffNumber(diff: number): string { |
| 99 | const number = |