From 7b4de6ba79f2c0fec8056a5261d66d2edb66a4f8 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Fri, 10 Jan 2025 20:13:21 -0500 Subject: made changelog view pwetty --- src/index.tsx | 48 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 43 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/index.tsx b/src/index.tsx index d6428a1..c5b9e1a 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,6 +1,8 @@ import { definePlugin } from "decky-frontend-lib"; import React, { useEffect, useState } from "react"; import { FaClipboardList } from "react-icons/fa"; +import { marked } from "marked"; +import DOMPurify from "dompurify"; function Content() { const [changelog, setChangelog] = useState(null); @@ -77,14 +79,50 @@ function Content() { {error}

) : changelog ? ( -
-          {changelog}
-        
+ +
+ ) : (

Loading...

)} -- cgit v1.2.3