Markdown to Presentation

Converte Markdown (Marp) para PDF

Overview

This node converts Markdown content written with Marp syntax into a PDF presentation. It is useful for users who want to automate the generation of presentation slides from Markdown text, especially in workflows that require document transformation or report generation. For example, it can be used to convert meeting notes or project documentation into a polished PDF presentation automatically.

Use Case Examples

  1. Convert Markdown meeting notes with Marp syntax into a PDF presentation for sharing.
  2. Automate the creation of slide decks from Markdown content in a CI/CD pipeline.

Properties

Name Meaning
Markdown The Markdown content with Marp syntax to be converted into a PDF presentation.

Output

Binary

The node outputs the generated PDF presentation as binary data under the key 'data'.

Dependencies

  • This node requires the Marp CLI tool, which it runs via 'npx marp'. It depends on having Node.js and npm installed with access to the 'marp' package.
  • It uses the system's temporary directory to write intermediate Markdown and PDF files.

Troubleshooting

  • Common issues include errors if the Marp CLI is not installed or accessible via 'npx'.
  • Errors during conversion will throw messages prefixed with 'Erro ao converter Markdown com Marp'.
  • Ensure the environment where the node runs has permission to write to the temporary directory and execute child processes.
  • If the PDF file is not generated, check that the Marp CLI command syntax and version are correct.

Discussion