--markdown-selector
- CLI
- --markdown-selector
Converts only the elements matching this CSS selector, in page order. An invalid or selector that matches nothing will cause an error.
Example
zshot -f page.md \
--markdown-selector "article" \
https://zshot-cli.com/example_assets/gazette/{
"url": "https://zshot-cli.com/example_assets/gazette/",
"output_type": "markdown",
"markdown_selector": "article"
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/gazette/","output_type":"markdown","markdown_selector":"article"}' \
-o page.md