title: Is there a way to add embedded python code to Markdown?
body: <p>There is a way to add R code to Markdown (Rmd) by using</p>
  
  <pre><code>```{r}
  foo()
  ```
  </code></pre>
  
  <p>The result will be shown as a block of code and the output of that code (that will be calculated dynamically).</p>
  
  <p>Can the same thing be done for Python or for that matter any other language?</p>