mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-28 17:50:28 +08:00
- remove space between `path` and `filename` in Blob.svelte - remove top margin from the first element in markdown docs - fix Seed ID alignment on seed page Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
<script lang="ts">
import Markdown from "@app/Markdown.svelte";
import type * as proj from "@app/project";
export let content: string;
export let getImage: (path: string) => Promise<proj.Blob>;
</script>
<style>
article {
padding: 2rem;
max-width: 64rem;
background: var(--color-foreground-1);
border-radius: var(--border-radius);
}
</style>
<article>
<Markdown {content} {getImage} />
</article>