Update index.html
This commit is contained in:
parent
3b68d96998
commit
d694477c4e
1 changed files with 4 additions and 4 deletions
|
@ -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.",
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue