mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 00:38:56 +00:00
LibWeb: Add a super basic HTML syntax highlighter
This can currently highlight tag names and attribute names/values.
This commit is contained in:
parent
aa7939bc6c
commit
97a230e4ef
Notes:
sideshowbarker
2024-07-18 17:41:59 +09:00
Author: https://github.com/alimpfard
Commit: 97a230e4ef
Pull-request: https://github.com/SerenityOS/serenity/pull/7322
6 changed files with 194 additions and 4 deletions
|
@ -15,13 +15,14 @@
|
|||
namespace Syntax {
|
||||
|
||||
enum class Language {
|
||||
PlainText,
|
||||
Cpp,
|
||||
JavaScript,
|
||||
INI,
|
||||
GML,
|
||||
Shell,
|
||||
HTML,
|
||||
INI,
|
||||
JavaScript,
|
||||
PlainText,
|
||||
SQL,
|
||||
Shell,
|
||||
};
|
||||
|
||||
struct TextStyle {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue