diff --git a/svelte-ui/package-lock.json b/svelte-ui/package-lock.json index 5d846e5..56ac432 100644 --- a/svelte-ui/package-lock.json +++ b/svelte-ui/package-lock.json @@ -2460,6 +2460,12 @@ "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", "dev": true }, + "@types/marked": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@types/marked/-/marked-1.2.1.tgz", + "integrity": "sha512-d5adCgRHB+NAme23hkiTkvpfZUDqoNtL2Sr2nZBJqSj3zyHLxsfFWsGQ2sK2z9aX6L1xkJzon2c0jTPcsEjpaQ==", + "dev": true + }, "@types/node": { "version": "14.14.17", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.17.tgz", @@ -3495,6 +3501,12 @@ "sourcemap-codec": "^1.4.4" } }, + "marked": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/marked/-/marked-1.2.7.tgz", + "integrity": "sha512-No11hFYcXr/zkBvL6qFmAp1z6BKY3zqLMHny/JN/ey+al7qwCM2+CMBL9BOgqMxZU36fz4cCWfn2poWIf7QRXA==", + "dev": true + }, "media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", diff --git a/svelte-ui/package.json b/svelte-ui/package.json index 74f16a3..1cae9e7 100644 --- a/svelte-ui/package.json +++ b/svelte-ui/package.json @@ -17,11 +17,13 @@ "@rollup/plugin-replace": "^2.3.4", "@rollup/plugin-typescript": "^6.0.0", "@tsconfig/svelte": "^1.0.0", + "@types/marked": "^1.2.1", "@types/node": "^14.14.17", "amazon-cognito-identity-js": "^4.5.6", "aws-amplify": "^3.3.13", "fa-svelte": "^3.1.0", "lodash-es": "^4.17.20", + "marked": "^1.2.7", "rollup": "^2.3.4", "rollup-plugin-css-only": "^3.1.0", "rollup-plugin-dev": "^1.1.3", diff --git a/svelte-ui/src/components/ChildEntry.svelte b/svelte-ui/src/components/ChildEntry.svelte index 3d37412..b0d7f83 100644 --- a/svelte-ui/src/components/ChildEntry.svelte +++ b/svelte-ui/src/components/ChildEntry.svelte @@ -3,6 +3,7 @@ import DaysLeft from "./DaysLeft.svelte"; import Icon from "./Icon.svelte"; import LinkHook from "./LinkHook.svelte"; + import Markdown from "./Markdown.svelte"; interface EntryCommon { id: string @@ -50,8 +51,8 @@ {/if} -
{entry.description}
+{entry.description}
-