From da348e56996ffd163c64f0308db1ddb04d898035 Mon Sep 17 00:00:00 2001 From: dx Date: Sat, 23 May 2020 21:09:33 +0100 Subject: -list item regex, +nitems variable, ~bold and italic List item regex can be replaced with a simple algorithm to check the first character of the line to see if it's a bullet character. I must check the bold before the italic code, as the regex may greedily eat up the double asterisks if I don't use it. squash! -list item regex, +nitems variable --- Compiler/includes/compiler.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Compiler/includes') diff --git a/Compiler/includes/compiler.hpp b/Compiler/includes/compiler.hpp index 808b21f..d761dcf 100644 --- a/Compiler/includes/compiler.hpp +++ b/Compiler/includes/compiler.hpp @@ -5,8 +5,8 @@ enum Type { - Italic, Bold, + Italic, Underline, StrikeThrough, ListItem, -- cgit v1.2.3-13-gbd6f