HN user

mickmcq

18 karma
Posts0
Comments12
View on HN
No posts found.

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 -

There is a TeX distribution that does what you say, TinyTeX. For some reason it is obscure and only really used by R and R Studio users. That may be because it is used to render R Markdown documents to pdf.