CLASSROOMIO-T-214: Add comments feature in lesson

This commit is contained in:
Rotimi Best
2023-10-08 15:34:37 +01:00
parent 0f01e8e574
commit 4f783cbc7c
28 changed files with 411 additions and 398 deletions
@@ -1,6 +1,4 @@
<script>
import { marked } from 'marked';
export let content = '';
export let className = '';
</script>
@@ -9,6 +7,6 @@
{#if $$slots.content}
<slot name="content" />
{:else}
{@html marked(content, { breaks: true, gfm: true })}
{@html content}
{/if}
</article>