Add support for strikethrough styling

This commit is contained in:
Roberto Santalla 2019-10-08 16:40:09 +02:00 committed by fiaxh
parent 6f77283c2c
commit 447b5ad54a

View file

@ -361,8 +361,8 @@ public static string parse_add_markup(string s_, string? highlight_word, bool pa
assert_not_reached();
}
string[] markup_string = new string[]{"`", "_", "*"};
string[] convenience_tag = new string[]{"tt", "i", "b"};
string[] markup_string = new string[]{"`", "_", "*", "~"};
string[] convenience_tag = new string[]{"tt", "i", "b", "s"};
for (int i = 0; i < markup_string.length; i++) {
string markup_esc = Regex.escape_string(markup_string[i]);