add markdown dialect (WIP) & add strikethrough and underline font styles

This commit is contained in:
MihailRis
2024-12-06 17:35:03 +03:00
parent 605d7e7897
commit 80e809f97f
15 changed files with 296 additions and 58 deletions
+4
View File
@@ -56,6 +56,7 @@ namespace gui {
bool editable = true;
bool autoresize = false;
bool showLineNumbers = false;
bool markdown = false;
std::string syntax;
@@ -227,5 +228,8 @@ namespace gui {
virtual void setOnDownPressed(const runnable &callback);
virtual void setSyntax(const std::string& lang);
virtual void setMarkdown(bool flag);
virtual bool isMarkdown() const;
};
}