vatlab / sos-notebook

Multi-language Jupyter Notebook
http://vatlab.github.io/SoS
BSD 3-Clause "New" or "Revised" License
177 stars 17 forks source link

Support for ```{r engine}``` in Rmd -> ipynb converter #271

Closed BoPeng closed 5 years ago

BoPeng commented 5 years ago

R markdown allows

  ```{r engine="python"}
  def f(x):
    return x + 2
  f(2)

which are not properly converted by our Rmd -> ipynb converter (treated as R block).