From f394ccd6702c4584a5a19d4df8cc6f714a43078c Mon Sep 17 00:00:00 2001 From: angrezichatterbox Date: Sun, 21 Dec 2025 00:09:39 +0530 Subject: [PATCH] feat:add highlight js for syntax highlight --- templates/home.html | 300 ++++++++++++++++++++++++-------------------- 1 file changed, 161 insertions(+), 139 deletions(-) diff --git a/templates/home.html b/templates/home.html index 12c1a85..36a732a 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,152 +1,174 @@ - - - - Wikitext to Translatable Wikitext Converter - - - - -
- - - -
-
- -
-
Input Wikitext
-
-
- -
- -
-
- - {% if converted %} -
-
Translatable Wikitext Output
- - + +
+ + {% if converted %} +
+
Translatable Wikitext Output
+
+
{{ converted }}
- {% endif %} +
+ {% endif %}
- - -
- - - + + - - + } + }) + .catch((error) => { + console.error("Error fetching commit data:", error); + document.getElementById("lastUpdatedDate").textContent = + "Unavailable"; + }); + + + + \ No newline at end of file