CLASSROOMIO-T-80: Replace sapper with sveltekit

This commit is contained in:
Rotimi Best
2023-08-02 19:35:27 +01:00
parent 8ffdf319b3
commit 7dfbb05451
320 changed files with 5207 additions and 18330 deletions
@@ -0,0 +1,22 @@
<script>
import { marked } from 'marked';
export let content = '';
export let disableMaxWidth = false;
</script>
<article
class="m-auto prose prose-sm sm:prose p-2 {disableMaxWidth &&
'disable-max-width'}"
>
{#if !!content}
{@html marked(content, { breaks: true, gfm: true })}
{/if}
</article>
<style>
.disable-max-width {
max-width: none !important;
width: 100%;
}
</style>