1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:27:46 +00:00

LibMarkdown+LibSyntax: Add a Markdown syntax highlighter

It currently supports only headers and code blocks.
This commit is contained in:
Maciej 2023-04-27 12:52:01 +02:00 committed by Sam Atkins
parent 416d6ab6c8
commit cf52542fcf
8 changed files with 156 additions and 4 deletions

View file

@ -9,9 +9,10 @@ set(SOURCES
LineIterator.cpp
List.cpp
Paragraph.cpp
SyntaxHighlighter.cpp
Table.cpp
Text.cpp
)
serenity_lib(LibMarkdown markdown)
target_link_libraries(LibMarkdown PRIVATE LibJS LibRegex)
target_link_libraries(LibMarkdown PRIVATE LibJS LibRegex LibSyntax)