gui/modules/ui/src/markdown/markdown.svelte
Neil 7359da0319
web preview and refactor native api integration module (#222)
* #213 web preview and cleanup native api integration
* remove old tauri build implementation
* fix git path 

---------

Co-authored-by: neil <neil@neils-MacBook-Pro.local>
2023-02-22 15:59:37 +08:00

16 lines
293 B
Svelte

<script lang="ts">
import SvelteMarkdown from "svelte-markdown";
import Link from "./link.svelte";
import "./styles.css";
export let source: string;
const renderers = {
link: Link
};
</script>
<section class="markdown-body p-4">
<SvelteMarkdown {source} {renderers} />
</section>