Class MarkdownParser.EnableMarkdownFor
- Enclosing class:
MarkdownParser
Purpose: To enable specific Markdown formatting features like bold, italic, etc.
When: This class is used when individual features of Markdown need to be enabled.
Where: It is used in the MarkdownParser.enableMarkdownFor() method to selectively enable features.
Additional Info: Enables features like bold, italic, etc., by chaining method calls.
Key Methods:
bold()- Enables bold Markdown formatting.italic()- Enables italic Markdown formatting.strikethrough()- Enables strikethrough Markdown formatting.underline()- Enables underline Markdown formatting.hyperlink()- Enables hyperlink Markdown formatting.spoiler()- Enables spoiler Markdown formatting.copyToClipboard()- Enables copy to clipboard Markdown formatting.color()- Enables color Markdown formatting.
- Since:
- 1.1.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbold()Enables bold Markdown formatting.color()Enables color Markdown formatting.Enables CopyToClipboard Markdown formatting.Enables hyperlink Markdown formatting.italic()Enables italic Markdown formatting.spoiler()Enables spoiler Markdown formatting.Enables strikethrough Markdown formatting.Enables underline Markdown formatting.
-
Constructor Details
-
EnableMarkdownFor
public EnableMarkdownFor()
-
-
Method Details
-
bold
Enables bold Markdown formatting.Purpose: To enable bold formatting for text.
When: Called when the bold feature should be enabled for Markdown.
Where: Invoked in theMarkdownParser.EnableMarkdownForinstance when the user opts to enable bold formatting.
Additional Info: This affects the application of the bold style in parsed messages.- Returns:
- The
MarkdownParser.EnableMarkdownForinstance to allow method chaining. - Since:
- 1.1.0
- See Also:
-
italic
Enables italic Markdown formatting.Purpose: To enable italic formatting for text.
When: Called when the italic feature should be enabled for Markdown.
Where: Invoked in theMarkdownParser.EnableMarkdownForinstance when the user opts to enable italic formatting.
Additional Info: This affects the application of the italic style in parsed messages.- Returns:
- The
MarkdownParser.EnableMarkdownForinstance to allow method chaining. - Since:
- 1.1.0
- See Also:
-
strikethrough
Enables strikethrough Markdown formatting.Purpose: To enable strikethrough formatting for text.
When: Called when the strikethrough feature should be enabled for Markdown.
Where: Invoked in theMarkdownParser.EnableMarkdownForinstance when the user opts to enable strikethrough formatting.
Additional Info: This affects the application of the strikethrough style in parsed messages.- Returns:
- The
MarkdownParser.EnableMarkdownForinstance to allow method chaining. - Since:
- 1.1.0
- See Also:
-
underline
Enables underline Markdown formatting.Purpose: To enable underline formatting for text.
When: Called when the underline feature should be enabled for Markdown.
Where: Invoked in theMarkdownParser.EnableMarkdownForinstance when the user opts to enable underline formatting.
Additional Info: This affects the application of the underline style in parsed messages.- Returns:
- The
MarkdownParser.EnableMarkdownForinstance to allow method chaining. - Since:
- 1.1.0
- See Also:
-
hyperlink
Enables hyperlink Markdown formatting.Purpose: To enable hyperlink formatting for text.
When: Called when the hyperlink feature should be enabled for Markdown.
Where: Invoked in theMarkdownParser.EnableMarkdownForinstance when the user opts to enable hyperlink formatting.
Additional Info: This affects the application of the hyperlink style in parsed messages.- Returns:
- The
MarkdownParser.EnableMarkdownForinstance to allow method chaining. - Since:
- 1.4.0
- See Also:
-
spoiler
Enables spoiler Markdown formatting.Purpose: To enable spoiler formatting for text.
When: Called when the spoiler feature should be enabled for Markdown.
Where: Invoked in theMarkdownParser.EnableMarkdownForinstance when the user opts to enable spoiler formatting.
Additional Info: This affects the application of the spoiler style in parsed messages.- Returns:
- The
MarkdownParser.EnableMarkdownForinstance to allow method chaining. - Since:
- 1.5.0
- See Also:
-
copyToClipboard
Enables CopyToClipboard Markdown formatting.Purpose: To enable copy-to-clipboard formatting for text.
When: Called when the copy-to-clipboard feature should be enabled for Markdown.
Where: Invoked in theMarkdownParser.EnableMarkdownForinstance when the user opts to enable copy-to-clipboard formatting.
Additional Info: This affects the application of the copy-to-clipboard functionality in parsed messages.- Returns:
- The
MarkdownParser.EnableMarkdownForinstance to allow method chaining. - Since:
- 1.6.0
- See Also:
-
color
Enables color Markdown formatting.Purpose: To enable color formatting for text.
When: Called when the color feature should be enabled for Markdown.
Where: Invoked in theMarkdownParser.EnableMarkdownForinstance when the user opts to enable color formatting.
Additional Info: This affects the application of the color style in parsed messages.- Returns:
- The
MarkdownParser.EnableMarkdownForinstance to allow method chaining. - Since:
- 1.6.0
- See Also:
-