*** Available from Dec 2026 ***
Power Automate Connector: Encodian – Convert
Overview
The 'Convert - HTML to Markdown' Power Automate action converts the HTML provided into markdown.
Credit Count
This action consumes 1 credit per operation.
Note, different Encodian actions can consume different numbers of credits. Please always check the action-specific documentation and read What is an Encodian Action for a full description of how credits are consumed.
Default Parameters
The default 'Convert - HTML to Markdown' flow action parameters are detailed below:
- File Content: (Optional) A Base64 encoded representation of the HTML (.html) file to be processed.
- HTML Data: (Optional) Enter the HTML data to convert to a PDF document.
- Format: Set whether the HTML should be converted to default Markdown or Git-style Markdown
Advanced Parameters
The advanced 'Convert - HTML to Markdown' flow action parameters are detailed below:
- Base64 Image Handling: Set how inline base64 images should be handled during Markdown conversion
- Cleanup Spaces: Set whether unnecessary whitespace should be cleaned up in the Markdown output
- Compact DIVs: Set whether DIV elements should avoid adding extra new lines in the Markdown output
- Default Code Block Language: Set the default language for fenced code blocks when no language is found in the HTML
- Escape Line Starts: Set whether text starting with Markdown syntax should be escaped to avoid accidental headings, lists, or blocks
- Exclude Selectors: Set CSS selectors for HTML elements that should be removed before conversion
- List Bullet Character: Set the character to use for unordered Markdown list items
- Output Line Ending: Set the line ending to use in the Markdown output. Leave blank to use the system default
- Pass Through Tags: Set specific HTML tags that should be left as-is without Markdown conversion
- PRE HTML Mode: Set whether PRE and PRE CODE elements should be treated as HTML instead of Markdown code blocks
- Remove Comments: Set whether HTML comments should be removed from the Markdown output
- Smart Links: Set whether links where the text and URL are the same should be output as plain URLs instead of Markdown links
- Style: Select the Markdown style to use when converting HTML
- Tag Aliases: Set HTML tag aliases to treat one tag as another during conversion
- Table Header Column Spans: Set whether table header column spans should be handled during conversion
- Tables Without Header Row: Set how tables without a header row should be converted
- Unknown Tags: Set how unsupported or unknown HTML tags should be handled during conversion
Return Parameters
The 'Convert - HTML to Markdown' flow action returns the following data.
Action Specific Return Values
- Result - The HTML converted to raw markdown (md)
Standard Return Values
- OperationId - The unique ID assigned to this operation.
- HttpStatusCode - The HTTP Status code for the response.
- HttpStatusMessage - The HTTP Status message for the response.
- Errors - An array of error messages should an error occur.
- Operation Status - Indicates whether the operation has been completed, has been queued or has failed.
0 Comments