- Word To Markdown Converter
- Online Markdown Converter
- Markdown Converter For Os X Mac
- Markdown Converter For Os X Download
Convert Markdown to HTML. Paste or type your markdown and see it rendered as HTML. Download or copy the resulting HTML. This page will also allow you to: Save stylesheets to use with your conversion; Edit the configuration settings for conversion. A cross platform gui application for the document converter pandoc. Some converters like html, opml, markdown and latex can be conveniently used by just clicking and then converting the loaded or typed text. Some more advanced functions of pandoc have to be typed in as parameters.
--> Convert the contents of a string or a file to a MarkdownInfo object.
Syntax
Description
This cmdlet converts the specified content into a MarkdownInfo. When a file path is specifiedfor the Path parameter, the contents on the file are converted. The output object has threeproperties:
- The Token property has the abstract syntax tree (AST) of the the converted object
- The Html property has the HTML conversion of the specified input
- The VT100EncodedString property has the converted string with ANSI (VT100) escape sequences ifthe AsVT100EncodedString parameter was specified
This cmdlet was introduced in PowerShell 6.1.
Examples
Example 1: Convert a file containing Markdown content to HTML
The MarkdownInfo object is returned. The Tokens property has the AST of the convertedcontent of the
README.md
file. The Html property has the HTML converted content of theREADME.md
file.Example 2: Convert a file containing Markdown content to a VT100-encoded string
The MarkdownInfo object is returned. The Tokens property has the AST of the convertedcontent of the
README.md
file. The VT100EncodedString property has the VT100-encoded stringconverted content of the README.md
file.Example 3: Convert input object containing Markdown content to a VT100-encoded string
Word To Markdown Converter
The MarkdownInfo object is returned. The FileInfo object from
Get-Item
is converted to aVT100-encoded string. The Tokens property has the AST of the converted content of theREADME.md
file. The VT100EncodedString property has the VT100-encoded string converted contentof the README.md
file.Online Markdown Converter
Example 4: Convert a string containing Markdown content to a VT100-encoded string
![Markdown Converter For Os X Markdown Converter For Os X](/uploads/1/2/6/6/126627898/188129508.jpg)
The MarkdownInfo object is returned. The specified string
**Bold text**
is converted to aVT100-encoded string and available in VT100EncodedString property.Parameters
Markdown Converter For Os X Mac
Specifies if the output should be encoded as a string with VT100 escape codes.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the object to be converted. When an object of type System.String is specified, thestring is converted. When an object of type System.IO.FileInfo is specified, the contents of thefile specified by the object are converted. Objects of any other type result in an error.
Type: | PSObject |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |
Specifies a path to the file to be converted.
![Markdown converter for os x 1 Markdown converter for os x 1](/uploads/1/2/6/6/126627898/169522687.jpg)
Type: | System.String[] |
Aliases: | PSPath, LP |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a path to the file to be converted.
Type: | System.String[] |
Position: | 0 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | True |
Inputs
Outputs
Microsoft.PowerShell.MarkdownRender.MarkdownInfo