LibWeb: Add a super basic HTML syntax highlighter

This can currently highlight tag names and attribute names/values.
This commit is contained in:
Ali Mohammad Pur 2021-05-20 23:15:33 +04:30 committed by Andreas Kling
commit 97a230e4ef
Notes: sideshowbarker 2024-07-18 17:41:59 +09:00
6 changed files with 194 additions and 4 deletions

View file

@ -15,13 +15,14 @@
namespace Syntax {
enum class Language {
PlainText,
Cpp,
JavaScript,
INI,
GML,
Shell,
HTML,
INI,
JavaScript,
PlainText,
SQL,
Shell,
};
struct TextStyle {