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