diff --git a/TelegramBotBase/Markdown/Generator.cs b/TelegramBotBase/Markdown/Generator.cs
index 90c061f..6816327 100644
--- a/TelegramBotBase/Markdown/Generator.cs
+++ b/TelegramBotBase/Markdown/Generator.cs
@@ -42,7 +42,7 @@ namespace TelegramBotBase.Markdown
}
///
- /// Returns a bold link in Markdown or HTML
+ /// Returns a bold text in Markdown or HTML
///
///
///
@@ -51,7 +51,7 @@ namespace TelegramBotBase.Markdown
switch (OutputMode)
{
case ParseMode.Markdown:
- return "**" + text + "**";
+ return "*" + text + "*";
case ParseMode.Html:
return "" + text + "";
}
@@ -59,7 +59,24 @@ namespace TelegramBotBase.Markdown
}
///
- /// Returns a italic link in Markdown or HTML
+ /// Returns a strike through in Markdown or HTML
+ ///
+ ///
+ ///
+ public static String Strikesthrough(this String text)
+ {
+ switch (OutputMode)
+ {
+ case ParseMode.Markdown:
+ return "~" + text + "~";
+ case ParseMode.Html:
+ return "" + text + "";
+ }
+ return text;
+ }
+
+ ///
+ /// Returns a italic text in Markdown or HTML
///
///
///
@@ -68,7 +85,7 @@ namespace TelegramBotBase.Markdown
switch (OutputMode)
{
case ParseMode.Markdown:
- return "__" + text + "__";
+ return "_" + text + "_";
case ParseMode.Html:
return "" + text + "";
}
@@ -76,7 +93,24 @@ namespace TelegramBotBase.Markdown
}
///
- /// Returns a monospace link in Markdown or HTML
+ /// Returns a underline text in Markdown or HTML
+ ///
+ ///
+ ///
+ public static String Underline(this String text)
+ {
+ switch (OutputMode)
+ {
+ case ParseMode.Markdown:
+ return "__" + text + "__";
+ case ParseMode.Html:
+ return "" + text + "";
+ }
+ return text;
+ }
+
+ ///
+ /// Returns a monospace text in Markdown or HTML
///
///
///
@@ -93,7 +127,7 @@ namespace TelegramBotBase.Markdown
}
///
- /// Returns a multi monospace link in Markdown or HTML
+ /// Returns a multi monospace text in Markdown or HTML
///
///
///