SlideNumberFormat

MarkdownSaveOptions.SlideNumberFormat property

Gets or sets the format string used for slide number headers in Markdown output. The format must include the “{0}” placeholder, which will be replaced with the slide index during export. Example: “# Slide {0}” will produce “# Slide 1”, “# Slide 2”, etc.

public string SlideNumberFormat { get; set; }

Exceptions

exceptioncondition
ArgumentNullExceptionThrown if the provided value is null or empty.
ArgumentExceptionThrown if the format string does not contain the “{0}” placeholder.

See Also