From 743812b0419039b08e439ae2fbd48dfa6bb1e890 Mon Sep 17 00:00:00 2001 From: abram! <115729028+Not-Abram@users.noreply.github.com> Date: Fri, 1 Nov 2024 11:08:59 -0500 Subject: [PATCH] Added toggles to external and internal markdown previews (#185) * Added toggles to external and internal markdown previews * Lint * Update packages/viewer/src/components/Shared/Source.svelte --------- Co-authored-by: Steven Clontz --- .../viewer/src/components/Dev/Preview.svelte | 2 +- .../viewer/src/components/Properties/Show.svelte | 2 +- .../viewer/src/components/Shared/Source.svelte | 16 ++++++++++++---- .../viewer/src/components/Spaces/Show.svelte | 2 +- .../viewer/src/components/Theorems/Show.svelte | 2 +- .../viewer/src/components/Traits/Show.svelte | 2 +- 6 files changed, 17 insertions(+), 9 deletions(-) diff --git a/packages/viewer/src/components/Dev/Preview.svelte b/packages/viewer/src/components/Dev/Preview.svelte index e4466a7..ca690cc 100644 --- a/packages/viewer/src/components/Dev/Preview.svelte +++ b/packages/viewer/src/components/Dev/Preview.svelte @@ -40,7 +40,7 @@
- +
diff --git a/packages/viewer/src/components/Properties/Show.svelte b/packages/viewer/src/components/Properties/Show.svelte index 8f00b8a..c25a931 100644 --- a/packages/viewer/src/components/Properties/Show.svelte +++ b/packages/viewer/src/components/Properties/Show.svelte @@ -25,7 +25,7 @@
- +
diff --git a/packages/viewer/src/components/Shared/Source.svelte b/packages/viewer/src/components/Shared/Source.svelte index 2716334..977fad6 100644 --- a/packages/viewer/src/components/Shared/Source.svelte +++ b/packages/viewer/src/components/Shared/Source.svelte @@ -2,6 +2,8 @@ import ExtMarkdown from './ExtMarkdown.svelte' export let source: string let showMarkdown = false + export let internal = false + export let external = false