update list renderer
This commit is contained in:
parent
4f4bbd7019
commit
10f239b2e5
@ -3,8 +3,9 @@
|
|||||||
export let start: number;
|
export let start: number;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<!-- Styling is taken care of by Tailwind Typography plugin -->
|
||||||
{#if ordered}
|
{#if ordered}
|
||||||
<ol class="list-decimal list-inside" {start}><slot /></ol>
|
<ol><slot /></ol>
|
||||||
{:else}
|
{:else}
|
||||||
<ul class="list-disc list-inside"><slot /></ul>
|
<ul><slot /></ul>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
Reference in New Issue
Block a user