From b42d86b17a03cf8dfb8c94f4ba349f748c4bbe60 Mon Sep 17 00:00:00 2001 From: frostime Date: Tue, 23 May 2023 15:02:56 +0800 Subject: [PATCH 1/6] add b3-typography to render plain text content --- src/hello.svelte | 7 +++++-- src/libs/b3-list.svelte | 8 -------- src/libs/b3-typography.svelte | 3 +++ 3 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 src/libs/b3-list.svelte create mode 100644 src/libs/b3-typography.svelte diff --git a/src/hello.svelte b/src/hello.svelte index b619b3f..749d62c 100644 --- a/src/hello.svelte +++ b/src/hello.svelte @@ -6,6 +6,8 @@ import { onDestroy, onMount } from "svelte"; import { version } from "./api"; import { showMessage } from "siyuan"; + import Typo from "./libs/b3-typography.svelte"; + export let name: string; export let i18n: any; @@ -43,9 +45,10 @@ -
+ +

Wellcome to plugin sample with vite & svelte

{@html i18n.makesure}

-
+ diff --git a/src/libs/b3-list.svelte b/src/libs/b3-list.svelte deleted file mode 100644 index edbab36..0000000 --- a/src/libs/b3-list.svelte +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/src/libs/b3-typography.svelte b/src/libs/b3-typography.svelte new file mode 100644 index 0000000..60227cd --- /dev/null +++ b/src/libs/b3-typography.svelte @@ -0,0 +1,3 @@ +
+ +
\ No newline at end of file From d536f9b25da94c71850b4399b4d956c936a5c135 Mon Sep 17 00:00:00 2001 From: frostime Date: Tue, 23 May 2023 15:09:41 +0800 Subject: [PATCH 2/6] remove copyrigth --- src/hello.svelte | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/hello.svelte b/src/hello.svelte index 749d62c..40d97b7 100644 --- a/src/hello.svelte +++ b/src/hello.svelte @@ -1,7 +1,3 @@ -