-
Notifications
You must be signed in to change notification settings - Fork 45
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
RStudio Theme Wishlist #19
Comments
Rmd: Inline vs Standard Code ChunkIn R Markdown inline code is indistinguishable from a standard markdown code chunk. Both are classed
<div class="ace_line" style="height:19px">
Note that the
<span class="ace_support ace_function">`</span>
<span class="ace_support ace_function">echo = FALSE</span>
<span class="ace_support ace_function">`</span>
parameter was added to the code chunk...
</div>
<div class="ace_line_group" style="height:19px">
<div class="ace_line" style="height:19px">
<span class="ace_support ace_function">```r</span>
</div>
</div>
<div class="ace_line_group" style="height:19px">
<div class="ace_line" style="height:19px">
<span class="ace_support ace_function">library(ggplot2)</span>
</div>
</div>
<div class="ace_line_group" style="height:19px">
<div class="ace_line" style="height:19px">
<span class="ace_support ace_function">```</span>
</div>
</div> |
Variable Assignment and Function Formals vs VariablesI would love to be able to style a variables when it's being assigned, i.e. I would also like to be able to distinguish between function formals and variables in use, e.g. to differentiate between add <- function(x, y) {
x + y
}
add(x = 1, y = 2) <div class="ace_line" style="height:19px">
<span class="ace_identifier">add</span> <!-- Variable in assignment -->
<span class="ace_keyword ace_operator"><-</span>
<span class="ace_keyword">function</span>
<span class="ace_paren ace_keyword ace_operator">(</span>
<span class="ace_identifier">x</span> <!-- function formal -->
<span class="ace_punctuation ace_keyword ace_operator">,</span>
<span class="ace_identifier">y</span>
<span class="ace_paren ace_keyword ace_operator">)</span>
<span class="ace_paren ace_keyword ace_operator">{</span>
</div>
<div class="ace_line" style="height:19px">
<span class="ace_identifier">x</span> <!-- variable in use -->
<span class="ace_keyword ace_operator">+</span>
<span class="ace_identifier">y</span>
</div>
<div class="ace_line" style="height:19px">
<span class="ace_paren ace_keyword ace_operator">}</span>
</div>
<div class="ace_line" style="height:19px">
<span class="ace_identifier ace_support ace_function">add</span>
<span class="ace_paren ace_keyword ace_operator">(</span>
<span class="ace_identifier">x</span> <!-- function argument -->
<span class="ace_keyword ace_operator">=</span>
<span class="ace_constant ace_numeric">1</span>
<span class="ace_punctuation ace_keyword ace_operator">,</span>
<span class="ace_identifier">y</span>
<span class="ace_keyword ace_operator">=</span>
<span class="ace_constant ace_numeric">2</span>
<span class="ace_paren ace_keyword ace_operator">)</span>
</div> |
A running list of a few things I wish were easier to theme, as I encounter them.
The text was updated successfully, but these errors were encountered: