Convert Markdown To PDF
Connector ID: Markdown To Pdf
If we can create PDF from URL and html, why not from markdown pages. The PDF can be generated from the markdown pages here in PDF4me, and can further be integrated for defining bigger workflows in Microsoft Flow.
- Method: POST
- Endpoint: /api/v2/ConvertMdToPdf
Parameters
- File ContentBase64, Required
The content of the input file.
- File NameString, Required
Source file name with proper file extension
- Markdown File PathString
Markdown file path required when input file is ZIP. Provide the path to the .md file inside zip
Output
- File ContentBinary
Output file content from PDF4me action
- File NameString
Output file name from PDF4me action
Header
Content-Type: application/json
Authorization: Please copy key from the link.
Payload
{
"docContent": "Please put PDF base64 content",
"docName": "output.pdf",
"mdFilePath": "Please put base64 zip file path"
}
PDF4me api samples
- CSharp(C#)
- Java
- JavaScript
- Python
- Salesforce
- n8n
- Google Script
- AWS Lambda