Cmdlet
New-OfficeMarkdownHtmlOptions
Creates native Markdown HTML document, styling and resource-link settings.
Syntax
New-OfficeMarkdownHtmlOptions
[-AllowedHttpImageHost <String[]>]
[-AllowedHttpLinkHost <String[]>]
[-AssetMode <Online| Offline>]
[-BlockExternalHttpImages]
[-CssDelivery <Inline| ExternalFile| LinkHref>]
[-DocumentMode]
[-ExternalLinksReferrerPolicy <String>]
[-ExternalLinksRel <String>]
[-ExternalLinksTargetBlank]
[-GitHubFootnoteHtml]
[-GitHubTaskListHtml]
[-ImagesDecodingAsync]
[-ImagesLoadingLazy]
[-ImagesReferrerPolicy <String>]
[-IncludeAnchorLinks]
[-RawHtmlHandling <Allow| Escape| Sanitize| Strip>]
[-ReaderOptions <MarkdownLoadOptions>]
[-RestrictHttpImagesToBaseOrigin]
[-RestrictHttpLinksToBaseOrigin]
[-Style <MarkdownHtmlStyle>]
[-Theme <OfficeThemeInput>]
[-Title <String>]
[<CommonParameters>]#Parameter set:
DefaultExamples
Example 1
New-OfficeMarkdownHtmlOptions -AllowedHttpImageHost @('Value')Parameters
- -AllowedHttpImageHost String[]
- Additional allowed HTTP hosts.
- -AllowedHttpLinkHost String[]
- Additional allowed HTTP hosts.
- -AssetMode MarkdownAssetMode
- Native AssetMode setting.
- Possible values:
Online,Offline - -BlockExternalHttpImages SwitchParameter
- Enable or explicitly disable BlockExternalHttpImages.
- -CssDelivery MarkdownCssDelivery
- Native CssDelivery setting.
- Possible values:
Inline,ExternalFile,LinkHref - -DocumentMode SwitchParameter
- Render a complete HTML document; explicit false renders a fragment.
- -ExternalLinksReferrerPolicy String
- Native ExternalLinksReferrerPolicy setting.
- -ExternalLinksRel String
- Native ExternalLinksRel setting.
- -ExternalLinksTargetBlank SwitchParameter
- Enable or explicitly disable ExternalLinksTargetBlank.
- -GitHubFootnoteHtml SwitchParameter
- Enable or explicitly disable GitHubFootnoteHtml.
- -GitHubTaskListHtml SwitchParameter
- Enable or explicitly disable GitHubTaskListHtml.
- -ImagesDecodingAsync SwitchParameter
- Enable or explicitly disable ImagesDecodingAsync.
- -ImagesLoadingLazy SwitchParameter
- Enable or explicitly disable ImagesLoadingLazy.
- -ImagesReferrerPolicy String
- Native ImagesReferrerPolicy setting.
- -IncludeAnchorLinks SwitchParameter
- Enable or explicitly disable IncludeAnchorLinks.
- -RawHtmlHandling MarkdownRawHtmlHandling
- Native RawHtmlHandling setting.
- Possible values:
Allow,Escape,Sanitize,Strip - -ReaderOptions MarkdownLoadOptions
- Native syntax, normalization, URL and input-limit policy, captured independently.
- -RestrictHttpImagesToBaseOrigin SwitchParameter
- Enable or explicitly disable RestrictHttpImagesToBaseOrigin.
- -RestrictHttpLinksToBaseOrigin SwitchParameter
- Enable or explicitly disable RestrictHttpLinksToBaseOrigin.
- -Style MarkdownHtmlStyle
- Native Style setting.
- Possible values:
Plain,Clean,GithubLight,GithubDark,GithubAuto,ChatLight,ChatDark,ChatAuto,Word - -Theme OfficeThemeInput
- Built-in theme, shared theme object or theme template.
- -Title String
- Native Title setting.
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.