aboutsummaryrefslogtreecommitdiff
path: root/Compiler/includes/compiler.hpp
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-23 21:09:33 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-23 21:13:02 +0100
commitda348e56996ffd163c64f0308db1ddb04d898035 (patch)
tree7828a5e08c3140c27871b40dd2c52f850bf3c7c2 /Compiler/includes/compiler.hpp
parent664fa86acd90acaf1c5f54a336f5894f21415282 (diff)
downloadmdhtml-da348e56996ffd163c64f0308db1ddb04d898035.tar.gz
mdhtml-da348e56996ffd163c64f0308db1ddb04d898035.tar.bz2
mdhtml-da348e56996ffd163c64f0308db1ddb04d898035.zip
-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
Diffstat (limited to 'Compiler/includes/compiler.hpp')
-rw-r--r--Compiler/includes/compiler.hpp2
1 files changed, 1 insertions, 1 deletions
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,