Fix twemojis display
Text in Markdown with emojis has been tried to be fetched from the
/raw route as embeds.
This commit changes the renderer method to compute the hex string for
a unicode emoji to be able to use the /twemoji asset folder.
3 files changed
+15
-3
846daf0b
→
b3be042b
modified src/components/Markdown.svelte
@@ -137,6 +137,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -160,7 +161,8 @@
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -349,6 +351,10 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/lib/markdown.ts
@@ -89,7 +89,13 @@ export const markdownWithExtensions = new Marked(
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/lib/utils.ts
@@ -244,7 +244,7 @@ export function twemoji(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|