java.lang.Object
one.jpro.platform.mdfx.MDFXUtil.Subchapter
- Enclosing class:
MDFXUtil
Represents a subchapter with an index, a heading, and content.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAppend text to this subchapter.Returns only the content of this subchapter, excluding the ## heading line.Returns the full Markdown for this subchapter, including the ## heading plus content.Returns the subchapter heading text (excluding ##).intgetIndex()The subchapter index (starts from 1 for the first subchapter in a chapter).
-
Constructor Details
-
Subchapter
-
-
Method Details
-
appendContent
Append text to this subchapter. -
getIndex
public int getIndex()The subchapter index (starts from 1 for the first subchapter in a chapter). -
getHeadingText
Returns the subchapter heading text (excluding ##). -
getFullMD
Returns the full Markdown for this subchapter, including the ## heading plus content. -
getContent
Returns only the content of this subchapter, excluding the ## heading line.
-