Skip to content

Commit f28089d

Browse files
committed
doc: add more credits
1 parent fa6fe1b commit f28089d

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

docs/src/routes/credits/+page.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ description: Contributors to Svelte Headless Table
1010
import { createTable, createRender, Render, Subscribe } from 'svelte-headless-table';
1111
import { addSortBy } from 'svelte-headless-table/plugins';
1212
import CreditsAnchor from './CreditsAnchor.svelte';
13+
import CreditsHtml from './CreditsHtml.svelte';
1314
import CaretDownIcon from '~icons/ic/round-keyboard-arrow-down';
1415

1516
const data = readable([
@@ -23,6 +24,16 @@ description: Contributors to Svelte Headless Table
2324
description: 'The documentation site is built with KitDocs.',
2425
url: 'https://kitdocs.vercel.app/docs/getting-started/introduction',
2526
},
27+
{
28+
name: '@blerrgh',
29+
description: 'For designing and implementing a server-side API',
30+
url: 'https://github.com/blerrgh'
31+
},
32+
{
33+
name: '@risalfajar',
34+
description: 'For better column id inference and native Date sorting on the <code>addSortBy</code> plugin.',
35+
url: 'https://github.com/risalfajar'
36+
}
2637
]);
2738

2839
const table = createTable(data, {
@@ -44,6 +55,7 @@ description: Contributors to Svelte Headless Table
4455
table.column({
4556
header: 'Description',
4657
accessor: 'description',
58+
cell: ({ value }) => createRender(CreditsHtml, { html: value }),
4759
}),
4860
]);
4961
const { headerRows, rows } = table.createViewModel(columns);
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<script lang="ts">
2+
export let html: string;
3+
</script>
4+
5+
{@html html}

0 commit comments

Comments
 (0)