From 6024c762d5daba3118685e7eaceb2dd82aae27a5 Mon Sep 17 00:00:00 2001 From: Maxwell Drake Date: Sun, 7 Apr 2024 20:48:33 +0000 Subject: [PATCH] Update 'frontend.js' --- frontend.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend.js b/frontend.js index f2972c8..7e7dc87 100644 --- a/frontend.js +++ b/frontend.js @@ -3,7 +3,9 @@ // Licensed under Samuel Public License with <3 // Functions for commonly used elements - +function getElementById(el) { + document.getElementById(el) +} //Convert markdown to HTML and back function markdownToHTML(markdown) { // Replace headers (h1, h2, h3) with corresponding HTML tags