name: my-md-to-pdf description: Converts a Markdown (.md) file to a styled PDF. Use when the user wants to export, print, or share a markdown file as PDF. Invoke with /md-to-pdf filename.md allowed-tools: Bash(python3 *)
Markdown to PDF Converter
Convert $ARGUMENTS to a PDF using the bundled Python script.
Steps
- Run the conversion script:
python3 "${CLAUDE_SKILL_DIR}/scripts/convert.py" $ARGUMENTS
- Tell the user where the output PDF was saved.
If $ARGUMENTS is empty, ask the user which .md file they want to convert.