Closed ABartzGit closed 4 years ago
I show examples of how to run code using Python and R. But when I use
.. tabs:: .. code-tab:: r library(somelibrary)
The label in the output is "S". I'm assuming this has something to do with the R/S lexers http://pygments.org/docs/lexers/#lexers-for-the-r-s-languages.
Is there any way to change the label?
I tried using group-tab with coded text, but the highlighting is a little different.
group-tab
This should work:
.. tabs:: .. code-tab:: r R library(somelibrary)
The first r is the lexer, the second (and subsequent) the label.
That worked, thanks!!!
I show examples of how to run code using Python and R. But when I use
The label in the output is "S". I'm assuming this has something to do with the R/S lexers http://pygments.org/docs/lexers/#lexers-for-the-r-s-languages.
Is there any way to change the label?
I tried using
group-tab
with coded text, but the highlighting is a little different.