Update index.html

This commit is contained in:
The Ghost of FOSS' Future 2024-09-17 19:37:45 -05:00 committed by GitHub
parent 3b68d96998
commit d694477c4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -231,8 +231,8 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.62.0/mode/css/css.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", () => {
const codeArea = document.getElementById("code-area");
const editor = CodeMirror.fromTextArea(codeArea, {
var codeArea = document.getElementById("code-area");
var editor = CodeMirror.fromTextArea(codeArea, {
lineNumbers: true,
theme: "dracula",
autoCloseBrackets: true,
@ -245,8 +245,8 @@
editor.setSize("100%", "100%");
const fileList = document.getElementById("file-list");
const files = {
var fileList = document.getElementById("file-list");
var files = {
"Welcome2SneedCode.md":
"# Welcome to sneedCode\n\nThis is a speedy web-based code editor made \n to look familiar to the user but with a different workflow. \n\n Made with <3 by Sneed Group.",
};