Flavor
Flavor enumeration
All markdown specifications used in program.
public enum Flavor
Values
Name | Value | Description |
---|---|---|
Github | 0 | Github flavor. |
Gruber | 1 | Gruber flavor. |
MultiMarkdown | 2 | Multi markdown flavor. |
CommonMark | 3 | Common mark flavor. |
MarkdownExtra | 4 | Markdown extra flavor. |
Pandoc | 5 | Pandoc flavor. |
Kramdown | 6 | Kramdown flavor. |
Markua | 7 | Markua flavor. |
Maruku | 8 | Maruku flavor. |
Markdown2 | 9 | Markdown2 flavor. |
Remarkable | 10 | Remarkable flavor |
Showdown | 11 | Showdown flavor. |
Ghost | 12 | Ghost flavor. |
GitLab | 13 | Gitlab flavor. |
Haroopad | 14 | Haroopad flavor. |
IaWriter | 15 | IAWriter flavor. |
Redcarpet | 16 | Redcarpet flavor. |
ScholarlyMarkdown | 17 | Scholarly markdown flavor. |
Taiga | 18 | Taiga flavor. |
Trello | 19 | Trello flavor. |
S9ETextFormatter | 20 | S9E text formatter flavor. |
XWiki | 21 | XWiki flavor. |
StackOverflow | 22 | Stack overflow flavor. |
Default | 23 | Default markdown flavor. |
Examples
Example:
[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
using (Stream stream = new FileStream("doc.md", FileMode.OpenOrCreate))
{
MarkdownSaveOptions markdownSaveOptions = new MarkdownSaveOptions
{
ShowHiddenSlides = true,
ShowSlideNumber = true,
Flavor = Flavor.Github,
ExportType = MarkdownExportType.Sequential,
NewLineType = NewLineType.Windows
}
pres.Save(stream, new[] { 1, 2, 3, 4, 5, 6, 7, 8, 9 }, SaveFormat.Md, markdownSaveOptions);
}
}
See Also
- namespace Aspose.Slides.Export
- assembly Aspose.Slides