AI-Studio/app/MindWork AI Studio/Tools/Markdown.cs

16 lines
332 B
C#
Raw Normal View History

2024-05-25 20:18:49 +00:00
namespace AIStudio.Tools;
public static class Markdown
{
public static Typo OverrideHeaderTypo(Typo arg) => arg switch
{
Typo.h1 => Typo.h4,
Typo.h2 => Typo.h5,
Typo.h3 => Typo.h6,
Typo.h4 => Typo.h6,
Typo.h5 => Typo.h6,
Typo.h6 => Typo.h6,
_ => arg
};
}