Plug Database icon

Plug Database

Run Plug Database commands over REST or Socket.

Tools → Markdown to PDF

AI-generated

Summary

Convert Markdown text input into a PDF file, storing the generated PDF as a binary property in the workflow item.

Inputs

  • Tool Category — Select the group of tools to show (defaults to 'Documents').
  • Markdown (required) — Markdown content to convert into PDF format.
  • File Name — Name of the generated PDF file, defaulting to 'document.pdf'.
  • Output Binary Property — Property name on the output item to store the generated PDF binary data, default is 'data'.
  • Browser Options — Settings to control the browser environment used for rendering the PDF, including executable path, browser channel, timeout, and whether to enable JavaScript during rendering.
  • PDF Options — Options to customize PDF output format, orientation, background printing, scaling, margins, header/footer templates, and other rendering preferences.
  • Include Plug Tools Metadata — Whether to include metadata about the plug tools in the output item (default true).
  • Metadata Property — Name of the property under which metadata will be included if enabled (default '__plugTools').

Output shape

A single workflow item per input item containing the generated PDF in a binary property.

The output item includes the PDF binary file under the specified binary property name, with metadata optionally included in a separate property. PDF rendering is performed via a headless browser with configurable options, and size limits are enforced on input HTML and PDF output.

Links

Discussion