title: How to set the font size for code blocks in pandoc markdown?
body: <p>this small example: </p>
  
  <pre><code>An example code snippet:
  
  ~~~{.cpp}
  class A 
  {
      public:
          static void f1 () {}; 
  
          virtual void f2 () = override; 
  };
  ~~~
  </code></pre>
  
  <p>can be used to generate a PDF output with: </p>
  
  <pre><code>pandoc -o block-code.pdf block-code.txt
  </code></pre>
  
  <p>resulting in</p>
  
  <p><img src="https://i.stack.imgur.com/7veuP.png" alt="Font sizes of the code snippet and the text are equal."></p>
  
  <p>The font sizes of both the code and the text that are equal. How can I change the font size of the code snippets for the pdf (LaTex) pandoc output?</p>