Actions114
- AI Actions
- AI Advanced OCR
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Enitity Detection
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate Javascript Code
- Generate Python Code
- Language Detection
- Mood Detection
- PDF OCR
- Picture Object Recognition
- Picture Text Recognition
- Redact Sensitive Information From PDF
- Too Long To Read
- Transcribe
- Translation
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Date & Time Actions
- Generate Actions
- Image Actions
- Operator Actions
- PDF Actions
- Storage Actions
- Text Actions
- User Actions
PDF → Markdown to Pdf
AI-generatedOverview
This node converts a Markdown string into a PDF document. It allows users to input Markdown content and optionally customize the appearance using custom CSS. The output can be obtained as a file or as a URL, depending on the user's preference. This is useful for automating the generation of PDF reports, documentation, or any content originally authored in Markdown format.
Use Case Examples
- Generating a PDF report from Markdown content with custom styling.
- Converting Markdown documentation into a shareable PDF file or URL.
Properties
| Name | Meaning |
|---|---|
| Code Variables | Allows setting code variables defined in the code editor for the selected function, useful for dynamic content substitution in the Markdown to PDF conversion. |
| Get File as URL | Boolean flag to determine if the resulting PDF should be returned as a URL instead of a file. |
| Markdown String | The Markdown source content that will be converted into a PDF document. |
| CSS | Custom CSS to style the Markdown content before conversion to PDF. |
Output
JSON
fileName- The name of the generated PDF file.pdf- The generated PDF content, either as a file buffer or URL depending on the 'Get File as URL' option.
Dependencies
- An API key credential for the CodeKit API is required to perform the conversion.
Troubleshooting
- Ensure the Markdown string is valid and properly formatted to avoid conversion errors.
- If the 'Get File as URL' option is enabled, verify that the URL is accessible and correctly returned by the API.
- Check that the API key credential is correctly configured and has permissions to use the PDF Markdown conversion endpoint.