Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

New-OfficeMarkdownPowerPointOptions

Module
PSWriteOffice
Inputs
None
Outputs
OfficeIMO.Workflows.MarkdownToPowerPointOptions

Creates native Markdown slide boundaries, speaker-note, front-matter and image policies.

Syntax

New-OfficeMarkdownPowerPointOptions
[-AllowedImageDirectory <String[]>]
[-AllowLocalImages]
[-AllowRemoteImages]
[-BaseDirectory <String>]
[-MaximumDataUriImageBytes <Int64>]
[-NoBlockquoteNotes]
[-NoDataUriImages]
[-NoFrontMatter]
[-Profile <OfficeIMO|CommonMark|GitHubFlavoredMarkdown|Portable>]
[-ReaderOptions <MarkdownLoadOptions>]
[-SlideBreak <ThematicBreakOrHeading|ThematicBreak|Heading>]
[-SlideSize <Screen4x3|Screen16x9|Screen16x10>]
[-TitleHeadingLevel <Int32>]
[<CommonParameters>]
#
Parameter set: Default

Examples

Start slides at level-two headings.

$options = New-OfficeMarkdownPowerPointOptions -SlideBreak Heading -TitleHeadingLevel 2
Convert-OfficeDocument -Path ./Kickoff.md -To PowerPoint -OutputPath ./Kickoff.pptx -Options $options

Parameters

-AllowedImageDirectory String[] optional
Allowed local image directories.
-AllowLocalImages SwitchParameter optional
Allow native local image loading within the configured roots.
-AllowRemoteImages SwitchParameter optional
Allow the native bounded HTTP image loader.
-BaseDirectory String optional
Base directory for relative images.
-MaximumDataUriImageBytes Int64 optional
Maximum decoded data URI image bytes.
-NoBlockquoteNotes SwitchParameter optional
Keep blockquotes visible instead of placing them in speaker notes.
-NoDataUriImages SwitchParameter optional
Disable data URI images.
-NoFrontMatter SwitchParameter optional
Ignore title, subtitle and author front matter.
-Profile MarkdownDialectProfile optional
Native Markdown dialect profile; mutually exclusive with ReaderOptions.
Possible values: OfficeIMO, CommonMark, GitHubFlavoredMarkdown, Portable
-ReaderOptions MarkdownLoadOptions optional
Native parser, normalization and input-limit policy, captured independently.
-SlideBreak MarkdownSlideBreak optional
Native boundaries that begin a slide.
Possible values: ThematicBreakOrHeading, ThematicBreak, Heading
-SlideSize PowerPointSlideSizePreset optional
Native presentation canvas preset.
Possible values: Screen4x3, Screen16x9, Screen16x10
-TitleHeadingLevel Int32 optional
Heading level used for slide titles.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.