Flavor
Flavor-Enumeration
Alle in dem Programm verwendeten Markdown-Spezifikationen.
public enum Flavor
Werte
Name | Wert | Beschreibung |
---|---|---|
Github | 0 | Github-Geschmack. |
Gruber | 1 | Gruber-Geschmack. |
MultiMarkdown | 2 | Multi Markdown-Geschmack. |
CommonMark | 3 | Common Mark-Geschmack. |
MarkdownExtra | 4 | Markdown Extra-Geschmack. |
Pandoc | 5 | Pandoc-Geschmack. |
Kramdown | 6 | Kramdown-Geschmack. |
Markua | 7 | Markua-Geschmack. |
Maruku | 8 | Maruku-Geschmack. |
Markdown2 | 9 | Markdown2-Geschmack. |
Remarkable | 10 | Remarkable-Geschmack |
Showdown | 11 | Showdown-Geschmack. |
Ghost | 12 | Ghost-Geschmack. |
GitLab | 13 | GitLab-Geschmack. |
Haroopad | 14 | Haroopad-Geschmack. |
IaWriter | 15 | IAWriter-Geschmack. |
Redcarpet | 16 | Redcarpet-Geschmack. |
ScholarlyMarkdown | 17 | Wissenschaftlicher Markdown-Geschmack. |
Taiga | 18 | Taiga-Geschmack. |
Trello | 19 | Trello-Geschmack. |
S9ETextFormatter | 20 | S9E Text Formatter-Geschmack. |
XWiki | 21 | XWiki-Geschmack. |
StackOverflow | 22 | Stack Overflow-Geschmack. |
Default | 23 | Standard Markdown-Geschmack. |
Beispiele
Beispiel:
[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);
}
}
Siehe Auch
- Namespace Aspose.Slides.Export
- Assembly Aspose.Slides