mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-20 00:43:36 +03:00
16 lines
420 B
C#
16 lines
420 B
C#
namespace TeamOctolings.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}";
|
|
}
|
|
}
|