From ed3cbc91df6197a15d77f2a0e3cb8c91b12136b2 Mon Sep 17 00:00:00 2001 From: Maxime Cannoodt Date: Fri, 24 Jun 2022 10:10:58 +0200 Subject: [PATCH] markdown highlight --- server/prisma/dev.db | Bin 126976 -> 126976 bytes .../lib/components/MarkdownRenderer.svelte | 4 +++- webapp/src/lib/marked/extensions.ts | 22 ++++++++++++++++-- .../src/lib/marked/renderers/Highlight.svelte | 5 ++++ 4 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 webapp/src/lib/marked/renderers/Highlight.svelte diff --git a/server/prisma/dev.db b/server/prisma/dev.db index 3497d5b06db7997c7defcdb80001aa6b0b6448f9..e8eff1bc68236c5d6495a9642f00cfc415531a5e 100644 GIT binary patch delta 396 zcmZ|Gy-vbF003YsF(e3yCT{+1E)3kY*Iql3^3wtaEJYAEuXk;+f|j2i=mO~KpwXGh z#F;oaIyw6QE3GgZ+4R?JhM> z{hNjP^GEHfDH=m&wl3OGwd*;9_lh<+&KyQc+ z$EH&$gEFpmbTPo9**w+zYz#2uGOSL=;iXY4M*Yg6obESr_UOFSp~ULdyoy^61Cr@y z49LAnyDI5EB_|d6CRB}v9dtXzu%&cMwgYno$r$<9gCmB+fu)dUSSV!10lFY{&FZy> zq#n|+%skKWpsT8kVyI!sMIOXyBtt|Lh5&YDN+4Av$Aubl8Tx}z$N + export let text: string; + + +{text}