Flavor
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public final class Flavor extends System.Enum
All markdown specifications used in program.
Example: Presentation pres = new Presentation(presentationFileName); try { FileOutputStream stream = new FileOutputStream("MdFileForGitHubFlavor"); try { MarkdownSaveOptions markdownSaveOptions = new MarkdownSaveOptions(); markdownSaveOptions.setShowHiddenSlides(true); markdownSaveOptions.setShowSlideNumber(true); markdownSaveOptions.setFlavor(Flavor.Github); markdownSaveOptions.setExportType(MarkdownExportType.Sequential); markdownSaveOptions.setNewLineType(NewLineType.Windows); markdownSaveOptions.setBasePath(documentResourcesPath); pres.save(stream, new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9}, SaveFormat.Md, markdownSaveOptions); } finally { if (stream != null) stream.close(); } } catch (Exception e) { } finally { if (pres != null) pres.dispose(); }
Fields
Field | Description |
---|---|
Github | Github flavor. |
Gruber | Gruber flavor. |
MultiMarkdown | Multi markdown flavor. |
CommonMark | Common mark flavor. |
MarkdownExtra | Markdown extra flavor. |
Pandoc | Pandoc flavor. |
Kramdown | Kramdown flavor. |
Markua | Markua flavor. |
Maruku | Maruku flavor. |
Markdown2 | Markdown2 flavor. |
Remarkable | Remarkable flavor |
Showdown | Showdown flavor. |
Ghost | Ghost flavor. |
GitLab | Gitlab flavor. |
Haroopad | Haroopad flavor. |
IaWriter | IAWriter flavor. |
Redcarpet | Redcarpet flavor. |
ScholarlyMarkdown | Scholarly markdown flavor. |
Taiga | Taiga flavor. |
Trello | Trello flavor. |
S9ETextFormatter | S9E text formatter flavor. |
XWiki | XWiki flavor. |
StackOverflow | Stack overflow flavor. |
Default | Default markdown flavor. |
Github
public static final int Github
Github flavor.
Gruber
public static final int Gruber
Gruber flavor.
MultiMarkdown
public static final int MultiMarkdown
Multi markdown flavor.
CommonMark
public static final int CommonMark
Common mark flavor.
MarkdownExtra
public static final int MarkdownExtra
Markdown extra flavor.
Pandoc
public static final int Pandoc
Pandoc flavor.
Kramdown
public static final int Kramdown
Kramdown flavor.
Markua
public static final int Markua
Markua flavor.
Maruku
public static final int Maruku
Maruku flavor.
Markdown2
public static final int Markdown2
Markdown2 flavor.
Remarkable
public static final int Remarkable
Remarkable flavor
Showdown
public static final int Showdown
Showdown flavor.
Ghost
public static final int Ghost
Ghost flavor.
GitLab
public static final int GitLab
Gitlab flavor.
Haroopad
public static final int Haroopad
Haroopad flavor.
IaWriter
public static final int IaWriter
IAWriter flavor.
Redcarpet
public static final int Redcarpet
Redcarpet flavor.
ScholarlyMarkdown
public static final int ScholarlyMarkdown
Scholarly markdown flavor.
Taiga
public static final int Taiga
Taiga flavor.
Trello
public static final int Trello
Trello flavor.
S9ETextFormatter
public static final int S9ETextFormatter
S9E text formatter flavor.
XWiki
public static final int XWiki
XWiki flavor.
StackOverflow
public static final int StackOverflow
Stack overflow flavor.
Default
public static final int Default
Default markdown flavor.