add b3-typography to render plain text content

This commit is contained in:
frostime 2023-05-23 15:02:56 +08:00
parent 8b19031d08
commit b42d86b17a
3 changed files with 8 additions and 10 deletions

View file

@ -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 @@
</div>
</div>
<div>
<Typo>
<h2>Wellcome to plugin sample with vite & svelte</h2>
<p>{@html i18n.makesure}</p>
</div>
</Typo>
</div>