-
-
Notifications
You must be signed in to change notification settings - Fork 8
mattermosthelpers MarkdownHelpers
BigMakCode edited this page Aug 5, 2024
·
1 revision
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph Mattermost.Helpers
Mattermost.Helpers.MarkdownHelpers[[MarkdownHelpers]]
end
| Returns | Name |
|---|---|
string |
Bold(string text) |
string |
BoldItalic(string text) |
string |
ChannelMention(string channelName) |
string |
CodeBlock(string text, CodeLanguage language) |
string |
Escape(string text) |
string |
Header(string text, int level) |
string |
Image(string altText, string url) |
string |
InlineCode(string text) |
string |
Italic(string text) |
string |
Link(string text, string url) |
string |
Mention(string username) |
string |
OrderedList(string``[] items) |
string |
Quote(string text) |
string |
StrikeThrough(string text) |
string |
TaskList(...) |
string |
UnorderedList(...) |
public MarkdownHelpers()internal static string Bold(string text)| Type | Name | Description |
|---|---|---|
string |
text |
internal static string Italic(string text)| Type | Name | Description |
|---|---|---|
string |
text |
internal static string BoldItalic(string text)| Type | Name | Description |
|---|---|---|
string |
text |
internal static string StrikeThrough(string text)| Type | Name | Description |
|---|---|---|
string |
text |
internal static string InlineCode(string text)| Type | Name | Description |
|---|---|---|
string |
text |
internal static string CodeBlock(string text, CodeLanguage language)| Type | Name | Description |
|---|---|---|
string |
text | |
CodeLanguage |
language |
internal static string Quote(string text)| Type | Name | Description |
|---|---|---|
string |
text |
internal static string Link(string text, string url)| Type | Name | Description |
|---|---|---|
string |
text | |
string |
url |
internal static string Image(string altText, string url)| Type | Name | Description |
|---|---|---|
string |
altText | |
string |
url |
internal static string Mention(string username)| Type | Name | Description |
|---|---|---|
string |
username |
internal static string ChannelMention(string channelName)| Type | Name | Description |
|---|---|---|
string |
channelName |
internal static string Header(string text, int level)| Type | Name | Description |
|---|---|---|
string |
text | |
int |
level |
internal static string OrderedList(string[] items)| Type | Name | Description |
|---|---|---|
string``[] |
items |
internal static string UnorderedList(string[] items)| Type | Name | Description |
|---|---|---|
string``[] |
items |
internal static string UnorderedList((string Item1, int Item2)[] values)| Type | Name | Description |
|---|---|---|
(string Item1, int Item2)[]
|
values |
internal static string TaskList(string[] items)| Type | Name | Description |
|---|---|---|
string``[] |
items |
internal static string TaskList((string Item1, bool Item2)[] items)| Type | Name | Description |
|---|---|---|
(string Item1, bool Item2)[]
|
items |
internal static string Escape(string text)| Type | Name | Description |
|---|---|---|
string |
text |
Generated with ModularDoc