Hacker News new | ask | show | jobs
by mickmcq 716 days ago
A couple of notes on the blog post: the example

echo "Please explain this code: $(cat some_class.py)" | mark

needs a dash at the end to work correctly. Also, it doesn't output pandoc-flavored markdown (blank lines before headings and code chunks) unless I specifically ask it to, as in:

echo "Please explain this code, using pandoc-flavored markdown, leaving a blank line before headings and code chunks: $(cat some_class.py)" | mark -