Class Spoiler

java.lang.Object
software.bluelib.markdown.MarkdownFeature
software.bluelib.markdown.syntax.Spoiler

public class Spoiler extends MarkdownFeature
Handles the spoiler feature for Markdown text formatting.

Purpose: This class applies the spoiler formatting to text within markdown syntax.
When: The spoiler is applied when the text is surrounded by a specified prefix and suffix.
Where: Executed within the MarkdownParser.parseMarkdown(Component) method when the feature is enabled.
Additional Info: The default prefix and suffix are both set to "||". The feature is controlled by the isSpoilerEnabled flag.

Key Methods:

Since:
1.5.0
See Also: