| description | Convert files/URLs to Markdown via MarkItDown |
|---|---|
| agent | build |
Convert source content into Markdown using MarkItDown.
/to-markdown <input-path-or-url> [output.md]
- Parse
$ARGUMENTSas:- first token: input path or URL
- optional second token: output file path
- Run:
bash /home/vscode/.opencode/skills/markitdown-converter/scripts/convert.sh <input> [output]- If output path is provided, report the saved path.
- If output path is omitted, return the generated Markdown in the response.