Class Strikethrough
java.lang.Object
org.tealeaf.javamarkdown.MarkdownElement
org.tealeaf.javamarkdown.types.InlineElement
org.tealeaf.javamarkdown.types.Markup
org.tealeaf.javamarkdown.elements.Strikethrough
Creates an element whose contents are crossed out, such as this.
Achieves this formatting by putting ~~
on either side of the content
- Since:
- 0.0.10
- Author:
- Thomas Kwashnak
-
Field Summary
-
Constructor Summary
ConstructorDescriptionStrikethrough
(Object content) Creates a new StrikeThrough node, which renders its contents asstruck out. -
Method Summary
Methods inherited from class org.tealeaf.javamarkdown.types.InlineElement
checkType, requiresNewlineAfter, requiresNewlineBefore
Methods inherited from class org.tealeaf.javamarkdown.MarkdownElement
asString, toAppendable, toString, toWriter
-
Constructor Details
-
Strikethrough
Creates a new StrikeThrough node, which renders its contents as
struck out.Does not allow for any
Structure
elements to be struck out.- Parameters:
content
- The content to be struck out in rendering- Since:
- 0.0.10;
-