Convert - Markdown to PDF

*** Available from Dec 2026 ***

Power Automate Connector: Encodian – Convert

Overview

The 'Convert - Markdown to PDF' Power Automate action converts the markdown provided into a PDF document.

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 - Markdown to PDF' flow action parameters are detailed below:

  • Output Filename: The filename of the output document
  • File Content: Optional - The file content of the source markdown file.
  • Markdown: Optional - Set the markdown to convert to PDF

Advanced Parameters

The advanced 'Convert - Markdown to PDF' flow action parameters are detailed below:

  • Color Mode: Render the PDF in colour or grayscale. Defaults to Colour.
  • PDF Compliance: PDF standard for the output document, such as Pdf17, PdfA1b or PdfA2u. Defaults to None.
  • Downsample Images: Reduce image resolution to the configured image resolution. Defaults to true.
  • Enable Underline Syntax: Render text enclosed in ++ as underlined text. Defaults to false.
  • Export Document Structure: Include structural tags such as headings and paragraphs in the PDF. Defaults to true.
  • Heading Outline Levels: Number of heading levels to include in PDF navigation, from 0 to 6. Set to 0 to disable. Defaults to 0.
  • Image Compression: Use automatic image compression or force JPEG compression. Defaults to Auto.
  • Image Resolution: Target image resolution in pixels per inch when downsampling is enabled. Defaults to 220.
  • JPEG Quality: Quality of JPEG-compressed images, from 0 to 100. Lower values reduce quality and file size. Defaults to 100.
  • Preserve Empty Lines: Preserve blank lines in the Markdown. Defaults to false.
  • Preserve Soft Line Breaks: Render single Markdown newlines as visible line breaks instead of spaces. Defaults to false.

Return Parameters

The 'Convert - Markdown to PDF' flow action returns the following data. 

Action Specific Return Values

  • Filename - The filename of the document
  • File Content - The PDF Document

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.
Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk