mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-05-10 07:53:15 +03:00
fuck workarounds, i have a fresh idea
This commit is contained in:
parent
1dffff25d5
commit
2b9e3c8d5a
3 changed files with 17 additions and 5 deletions
|
@ -13,4 +13,16 @@ public static class MarkdownExtensions
|
|||
{
|
||||
return $"- {text}";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Formats a string to use Markdown Quote formatting.
|
||||
/// </summary>
|
||||
/// <param name="text">The input text to format.</param>
|
||||
/// <returns>
|
||||
/// A markdown-formatted quote string.
|
||||
/// </returns>
|
||||
public static string Quote(string text)
|
||||
{
|
||||
return $"> {text}";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue