REditorSupport / sublime-ide-r

R-IDE: Make Sublime Text a perfect IDE for R
MIT License
112 stars 7 forks source link

Feature request: Support python syntax highlighting in Rmd documents #23

Closed adibender closed 5 years ago

adibender commented 5 years ago

Thx to reticulate (https://github.com/rstudio/reticulate) it is now possible to include python chunks into Rmarkdown documents by adding chunks like

```{python}
import pandas as pd
...

However, sublime-ide-r currently does not support respective syntax highlighting. Is it possible to add?

randy3k commented 5 years ago

Definitely

randy3k commented 5 years ago

d9343a2ffddf649584328062819484b2033efd20 will close this.

adibender commented 5 years ago

Great news. I will test as soon as its on package control! thx for your effort!

randy3k commented 5 years ago

0.1.8 is released

adomingues commented 5 years ago

Hi Randy,

sorry for re-opening this issue, but would it possible to also include highlighting for bash code? Since Rmardown now allows other "engines" other than R, I have been mixing a lot of R and bash and this would make looking at bash code much more pleasant ;)

Cheers!

randy3k commented 5 years ago

Why not? just need to replicate the block and change python to bash.

adomingues commented 5 years ago

Done it and it is working. Cheers :+1: