Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding R Pygments to the code #51

Open
LuisBL opened this issue Jul 26, 2014 · 0 comments
Open

adding R Pygments to the code #51

LuisBL opened this issue Jul 26, 2014 · 0 comments

Comments

@LuisBL
Copy link

LuisBL commented Jul 26, 2014

I use this

.. code:: python

## by indexes starting by 0 [idx:idx]
>>> s[0], s[1], s[0:4] 
('h', 'e', 'hell')

>>> l[1], l[1] / 10 + 2**3
>  (3.14, 8.314)

And I get Syntax highlighting.

What need to be done to get syntax highlighting for R ?

.. code:: R

  d <- rbind(d, data.frame(Name = "Q", note = 2))
  d <- rbind(d, data.frame(Name = "Z", note = 26))

I try with R, S, Rscript, ...
pygment is suppose to do this : http://pygments.org/demo/251235/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant