Package org.tealeaf.javamarkdown.types
Class Markup
java.lang.Object
org.tealeaf.javamarkdown.MarkdownElement
org.tealeaf.javamarkdown.types.InlineElement
org.tealeaf.javamarkdown.types.Markup
- Direct Known Subclasses:
- Bold,- Code,- Italic,- Strikethrough
Represents markdown elements that indicates a simple markup syntax to the
 content text, such as 
**words** to indicate bold text.- Since:
- 0.0.1
- Author:
- Thomas Kwashnak
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.tealeaf.javamarkdown.types.InlineElementcheckType, requiresNewlineAfter, requiresNewlineBeforeMethods inherited from class org.tealeaf.javamarkdown.MarkdownElementasString, toAppendable, toString, toWriter
- 
Field Details- 
syntaxThe syntax used in the markup language
- 
objectObject to insert into the markup
 
- 
- 
Constructor Details- 
MarkupCreates a new markup element with a content object and the wrapping syntax- Parameters:
- object- Content object to display
- syntax- String syntax to put on either side of the content
- Since:
- 0.0.1
 
 
- 
- 
Method Details- 
asStringFormats the element to a string- Specified by:
- asStringin class- MarkdownElement
- Returns:
- String representation of the formatted item
- Since:
- 0.0.9
 
 
-