This question has a possible solution, but it's for the ConTeXt writer, which I can't use.
ConTeXt: How to change the background color and border of a Pandoc-generated blockquote?
What would be a LaTeX solution to achieve the same?
EDIT:
pandoc version is 1.9.4.2 on a debian wheezy system.
This is the tex generated from pandoc -V geometry:a4paper -V geometry:margin=2cm test.md -o test.tex
\section{Test 1}
\subsection{Test 2}
\ldots{} this is a test.
\begin{verbatim}
Block
quote
123
\end{verbatim}
\ldots{} more text.
I don't use a custom template.
If I put the example (\startsetups framedsetups
...) from the link in a file framedtext.tex and include it via -H, I get (and yes, I know I'd have to change the environment verbatim
instead of blockquote
):
>$ pandoc -H framedtext.tex -V geometry:a4paper -V geometry:margin=2cm test.md -o test.pdf
pandoc: Error producing PDF from TeX source.
! Undefined control sequence.
l.39 \startsetups