Cmdlet
New-OfficeMarkdownReaderOptions
Creates native Markdown dialect, normalization, URL and input-limit settings.
Syntax
New-OfficeMarkdownReaderOptions
[-AllowDataUrls]
[-AllowedUrlScheme <String[]>]
[-AllowMailtoUrls]
[-AllowProtocolRelativeUrls]
[-BaseUri <String>]
[-DisallowFileUrls]
[-MaxInputCharacters <Int32>]
[-NormalizeInput <IntelligenceXTranscript| IntelligenceXTranscriptStrict| DocsLoose>]
[-Profile <OfficeIMO| CommonMark| GitHubFlavoredMarkdown| Portable>]
[-RestrictUrlSchemes]
[<CommonParameters>]#Parameter set:
DefaultExamples
Bound input from uploaded files.
$options = New-OfficeMarkdownReaderOptions -MaxInputCharacters 500000 -DisallowFileUrls
Open-OfficeMarkdown -Path ./Uploads/*.md -Options $optionsParameters
- -AllowDataUrls SwitchParameter
- Allow data URLs.
- -AllowedUrlScheme String[]
- Allowed URL schemes; supplying this enables the allow-list.
- -AllowMailtoUrls SwitchParameter
- Allow mailto links.
- -AllowProtocolRelativeUrls SwitchParameter
- Allow protocol-relative links.
- -BaseUri String
- Base URI for relative links and images.
- -DisallowFileUrls SwitchParameter
- Block file URLs.
- -MaxInputCharacters Int32
- Maximum input characters accepted by the native reader.
- -NormalizeInput MarkdownInputNormalizationPreset
- Input normalization preset.
- Possible values:
IntelligenceXTranscript,IntelligenceXTranscriptStrict,DocsLoose - -Profile MarkdownDialectProfile
- Native Markdown dialect profile.
- Possible values:
OfficeIMO,CommonMark,GitHubFlavoredMarkdown,Portable - -RestrictUrlSchemes SwitchParameter
- Restrict links to the native allow-list.
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.