From d39370eeae2efef5c933510606c79d07da7f823e Mon Sep 17 00:00:00 2001 From: Max Base Date: Sun, 15 Sep 2024 19:20:58 +0330 Subject: [PATCH] add highlight --- editor.html | 54 +++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 42 insertions(+), 12 deletions(-) diff --git a/editor.html b/editor.html index a4fcf9c..4f70617 100644 --- a/editor.html +++ b/editor.html @@ -42,6 +42,24 @@ .editor-code .line { display: block; } + + .editor-code .line .string { + color: #d14; + } + + .editor-code .line .operator { + color: gold; + } + + .editor-code .line .comment { + color: #999; + font-style: italic; + } + + .editor-code .line .keyword { + color: #0086b3; + font-weight: bold; + }
@@ -59,6 +77,7 @@