From 9d1e2bfb28f21600aa8be0bf507b3ab8c1aab527 Mon Sep 17 00:00:00 2001 From: kwaroran Date: Fri, 14 Jun 2024 08:15:48 +0900 Subject: [PATCH] feat: add PlaygroundParser component to PlaygroundMenu --- src/lib/Playground/PlaygroundMenu.svelte | 9 +++++++++ src/lib/Playground/PlaygroundParser.svelte | 23 ++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 src/lib/Playground/PlaygroundParser.svelte diff --git a/src/lib/Playground/PlaygroundMenu.svelte b/src/lib/Playground/PlaygroundMenu.svelte index cb3ac70e..84f9a699 100644 --- a/src/lib/Playground/PlaygroundMenu.svelte +++ b/src/lib/Playground/PlaygroundMenu.svelte @@ -11,6 +11,7 @@ import { get } from "svelte/store"; import { DataBase, setDatabase, type character } from "src/ts/storage/database"; import PlaygroundImageGen from "./PlaygroundImageGen.svelte"; + import PlaygroundParser from "./PlaygroundParser.svelte"; const playgroundChat = () => { let db = get(DataBase) @@ -75,6 +76,11 @@ }}>

{language.imageGeneration}

+ {:else} {#if $SizeStore.w < 1024} @@ -105,6 +111,9 @@ {#if $PlaygroundStore === 7} {/if} + {#if $PlaygroundStore === 8} + + {/if} {/if} \ No newline at end of file diff --git a/src/lib/Playground/PlaygroundParser.svelte b/src/lib/Playground/PlaygroundParser.svelte new file mode 100644 index 00000000..903b43a3 --- /dev/null +++ b/src/lib/Playground/PlaygroundParser.svelte @@ -0,0 +1,23 @@ + + +

Full Parser

+ +Input + + + +Output HTML + + \ No newline at end of file