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