Flavor

Flavor-Enumeration

Alle in dem Programm verwendeten Markdown-Spezifikationen.

public enum Flavor

Werte

NameWertBeschreibung
Github0Github-Geschmack.
Gruber1Gruber-Geschmack.
MultiMarkdown2Multi Markdown-Geschmack.
CommonMark3Common Mark-Geschmack.
MarkdownExtra4Markdown Extra-Geschmack.
Pandoc5Pandoc-Geschmack.
Kramdown6Kramdown-Geschmack.
Markua7Markua-Geschmack.
Maruku8Maruku-Geschmack.
Markdown29Markdown2-Geschmack.
Remarkable10Remarkable-Geschmack
Showdown11Showdown-Geschmack.
Ghost12Ghost-Geschmack.
GitLab13GitLab-Geschmack.
Haroopad14Haroopad-Geschmack.
IaWriter15IAWriter-Geschmack.
Redcarpet16Redcarpet-Geschmack.
ScholarlyMarkdown17Wissenschaftlicher Markdown-Geschmack.
Taiga18Taiga-Geschmack.
Trello19Trello-Geschmack.
S9ETextFormatter20S9E Text Formatter-Geschmack.
XWiki21XWiki-Geschmack.
StackOverflow22Stack Overflow-Geschmack.
Default23Standard 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