Skip to content

Conversation

@Freguglia
Copy link
Contributor

@Freguglia Freguglia commented Jun 22, 2020

#254

Continuation prompts

At the moment rticles employs either R+ (for evaluated code) or R> (for non-evaluated code) as the continution prompt but + would be requested by JSS.

The code chunk

f(a = 1,
  b = 2)

now correctly renders as the journal template example

R> f(a = 1,
+    b = 2)

Inline code formatting

For code in Markdown it is ok to use backtick syntax, so that \code{...} is typically not necessary. Hence I it is ok to remove \code{print("abc")} from skeleton.Rmd, I think.

Changed the way markdown backtick syntax renders to \code{} instead of texttt{} and documented in the skeleton.Rmd

Copy link
Contributor

@yihui yihui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@yihui yihui merged commit 124d4d2 into rstudio:master Aug 3, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants