HeadingStyle
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum> com.aspose.ms.System.Enum com.aspose.pdf.markdownoptions.HeadingStyle, com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>, com.aspose.ms.System.Enum com.aspose.pdf.markdownoptions.HeadingStyle, com.aspose.ms.System.Enum, com.aspose.pdf.markdownoptions.HeadingStyle
public final class HeadingStyle extends com.aspose.ms.System.Enum
Defines the available serialization styles for headings. For specification see CommonMark - ATX headings, respectively CommonMark - Setext headings.
Fields
| Field | Description |
|---|---|
| Atx | Prefix headings with ‘#’ |
| Setext | Underscore level 1 and 2 headings with “======” respectively “——” Setext heading are only available for level 1 and 2 headings. Even with the heading style set to Setext, Atx style will be used for level 3 and above headings. |
Atx
public static final int Atx
Prefix headings with ‘#’
Setext
public static final int Setext
Underscore level 1 and 2 headings with “======” respectively “——” Setext heading are only available for level 1 and 2 headings. Even with the heading style set to Setext, Atx style will be used for level 3 and above headings.