Flavor

Flavor enum

All markdown specifications used in program.

enum class Flavor

Values

NameValueDescription
Github0Github flavor.
Gruber1Gruber flavor.
MultiMarkdown2Multi markdown flavor.
CommonMark3Common mark flavor.
MarkdownExtra4Markdown extra flavor.
Pandoc5Pandoc flavor.
Kramdown6Kramdown flavor.
Markua7Markua flavor.
Maruku8Maruku flavor.
Markdown29Markdown2 flavor.
Remarkable10Remarkable flavor
Showdown11Showdown flavor.
Ghost12Ghost flavor.
GitLab13Gitlab flavor.
Haroopad14Haroopad flavor.
IaWriter15IAWriter flavor.
Redcarpet16Redcarpet flavor.
ScholarlyMarkdown17Scholarly markdown flavor.
Taiga18Taiga flavor.
Trello19Trello flavor.
S9ETextFormatter20S9E text formatter flavor.
XWiki21XWiki flavor.
StackOverflow22Stack overflow flavor.
Default23Default markdown flavor.

Remarks

Example:

System::SharedPtr<Presentation> pres = System::MakeObject<Presentation>(u"pres.pptx");
System::SharedPtr<System::IO::Stream> stream = System::MakeObject<System::IO::FileStream>(u"doc.md", System::IO::FileMode::OpenOrCreate);

System::SharedPtr<MarkdownSaveOptions> markdownSaveOptions = System::MakeObject<MarkdownSaveOptions>();
markdownSaveOptions->set_ShowHiddenSlides(true);
markdownSaveOptions->set_ShowSlideNumber(true);
markdownSaveOptions->set_Flavor(Flavor::Github);
markdownSaveOptions->set_ExportType(MarkdownExportType::Sequential);
markdownSaveOptions->set_NewLineType(NewLineType::Windows);

System::ArrayPtr<int32_t> slideIndices = System::MakeArray<int32_t>({1, 2, 3, 4, 5, 6, 7, 8, 9});

pres->Save(stream, slideIndices, SaveFormat::Md, markdownSaveOptions);

See Also