1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-07 20:02:23 +04:00
Files
tabler/preview/pages/changelog.astro
T
2026-07-28 00:09:02 +02:00

19 lines
830 B
Plaintext

---
import ProseLayout from '@shared/layouts/ProseLayout.astro';
import { renderMarkdown } from '@shared/lib/render-markdown';
// Liquid: {{ changelog | renderContent: "md" }} — `changelog` is the raw
// content of core/CHANGELOG.md (shared/e11ty/data.mjs), rendered by
// Eleventy's markdown-it. renderMarkdown() mirrors that engine exactly
// (markdown-it 14.3.0, { html: true }, indented code blocks disabled) —
// output verified byte-identical to the reference build. Injected via
// set:html: the fragment contains entities and a literal `{$prefix}` token
// that must not be re-escaped or parsed as JSX.
import changelog from '../../core/CHANGELOG.md?raw';
const changelogHtml = renderMarkdown(changelog);
---
<ProseLayout title="Changelog" pageMenu="changelog">
<Fragment set:html={changelogHtml} />
</ProseLayout>