generate_pdf_from_markdown
Convert Markdown content to PDF format with customizable output location and filename for document creation and sharing.
Instructions
Generate a PDF from Markdown content
Input Schema
Name | Required | Description | Default |
---|---|---|---|
markdown_content | Yes | Markdown content to convert to PDF | |
output_dir | No | Output directory (optional, defaults to Downloads) | /root/Downloads |
output_filename | Yes | Name of the output PDF file (without path) |
Input Schema (JSON Schema)
{
"properties": {
"markdown_content": {
"description": "Markdown content to convert to PDF",
"type": "string"
},
"output_dir": {
"default": "/root/Downloads",
"description": "Output directory (optional, defaults to Downloads)",
"type": "string"
},
"output_filename": {
"description": "Name of the output PDF file (without path)",
"type": "string"
}
},
"required": [
"markdown_content",
"output_filename"
],
"type": "object"
}