mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 17:19:00 +03:00
17 lines
406 B
C#
17 lines
406 B
C#
|
namespace Octobot.Extensions;
|
|||
|
|
|||
|
public static class MarkdownExtensions
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Formats a string to use Markdown Bullet formatting.
|
|||
|
/// </summary>
|
|||
|
/// <param name="text">The input text to format.</param>
|
|||
|
/// <returns>
|
|||
|
/// A markdown-formatted bullet string.
|
|||
|
/// </returns>
|
|||
|
public static string BulletPoint(string text)
|
|||
|
{
|
|||
|
return $"- {text}";
|
|||
|
}
|
|||
|
}
|