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

Apply RStudio editor themes to help files #54

Open
user63230 opened this issue Jan 21, 2021 · 1 comment
Open

Apply RStudio editor themes to help files #54

user63230 opened this issue Jan 21, 2021 · 1 comment

Comments

@user63230
Copy link

Hi!

I'm not sure if this is possible, but I was wondering could you extent and apply RStudio's editor themes to the help files?

The benefit would be that help files would be easier to read as code within them would be color coded etc. Colin Gillespie has already achieved this in his .rprofile but the help files appear color coded in the console as opposed to appearing in the help file viewer so once you start coding again it goes out of view which is really annoying.

I had already asked this question in another SO post here but I think the way I was trying to achieve this was over complicated and I feel you could achieve this more easily.

thanks!

@salim-b
Copy link

salim-b commented Jan 24, 2021

My approach at styling RStudio's help pane in the rscodeio theme is found here (part of anthonynorth/rscodeio#45). Feel free to borrow that code.

Result looks as follows:

styled help pane

See also this SO answer.

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

2 participants