aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-20 14:31:08 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-20 14:31:08 +0100
commit701f08fbc9768049cd77160f313cd336dadb984f (patch)
tree2b5c077a82958cf0e299633519c49ffa793a7ac3
parente2475b23c77b0f37a1195df66a8a6728da4170d9 (diff)
downloadmdhtml-701f08fbc9768049cd77160f313cd336dadb984f.tar.gz
mdhtml-701f08fbc9768049cd77160f313cd336dadb984f.tar.bz2
mdhtml-701f08fbc9768049cd77160f313cd336dadb984f.zip
+strikethrough tag to accepted tokens
-rw-r--r--Converter/includes/compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Converter/includes/compiler.h b/Converter/includes/compiler.h
index 8f81ff8..6e1eca8 100644
--- a/Converter/includes/compiler.h
+++ b/Converter/includes/compiler.h
@@ -5,8 +5,8 @@
#include <stdbool.h>
typedef char *string;
-const static char TOKENS[] = {'*', '_'};
-const static size_t N_TOKENS = 2;
+const static char TOKENS[] = {'*', '_', '~'};
+const static size_t N_TOKENS = 3;
/* Compile markdown line to HTML line */
string compile_line(string line, size_t sz_line, string line_or_source);