import { describe, expect, it } from 'vitest' import { renderChangelogMarkdown } from './markdown' describe('renderChangelogMarkdown', () => { it('renders headings, lists, bold, code and links', () => { const md = ['### Features', '- add **two-way** sync', '- speed up `jumpRail`', '', '[issue](https://example.com/1)'].join('\n') const html = renderChangelogMarkdown(md) expect(html).toContain('

Features

') expect(html).toContain('