Get-GitHubMarkdownRaw¶
SYNOPSIS¶
Render a Markdown document in raw mode
SYNTAX¶
__AllParameterSets¶
Get-GitHubMarkdownRaw [[-Text] <string>] [[-Context] <Object>] [-Anonymous] [<CommonParameters>]
ALIASES¶
This cmdlet has the following aliases, {{Insert list of aliases}}
DESCRIPTION¶
You must send Markdown as plain text (using a Content-Type header of text/plain or text/x-markdown) to this endpoint, rather than using
JSON format.
In raw mode, GitHub Flavored Markdown is not supported and Markdown will be rendered in plain
format like a README.md file.
Markdown content must be 400 KB or less.
EXAMPLES¶
EXAMPLE 1¶
Get-GitHubMarkdownRaw -Text 'Hello, world!'
"<p>Hello <strong>world</strong></p>"
Render the Markdown text 'Hello, world!' in raw mode.
PARAMETERS¶
-Anonymous¶
If specified, makes an anonymous request to the GitHub API without authentication.
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Context¶
The context to run the command in. Used to get the details for the API call. Can be either a string or a GitHubContext object.
Type: System.Object
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Text¶
The Markdown text to render in HTML.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS¶
OUTPUTS¶
NOTES¶
Render a Markdown document in raw mode