Add some useful Rmd snippets#1009
Merged
renkun-ken merged 44 commits intoREditorSupport:masterfrom Mar 6, 2022
Merged
Conversation
Contributor
Author
|
Also added all the supported languages to Insert code chunk snippet. Users now can interactively choose the supported languages. The following languages are currently available: names(knitr::knit_engines$get())
#> [1] "awk" "bash" "coffee" "gawk" "groovy" "haskell"
#> [7] "lein" "mysql" "node" "octave" "perl" "psql"
#> [13] "Rscript" "ruby" "sas" "scala" "sed" "sh"
#> [19] "stata" "zsh" "asis" "asy" "block" "block2"
#> [25] "bslib" "c" "cat" "cc" "comment" "css"
#> [31] "dot" "embed" "fortran" "fortran95" "go" "highlight"
#> [37] "js" "julia" "python" "R" "Rcpp" "sass"
#> [43] "scss" "sql" "stan" "targets" "tikz" "verbatim"
#> [49] "glue" "glue_sql" "gluesql"Created on 2022-02-21 by the reprex package (v2.0.1)
|
Member
|
We are about to release a new version. Would you like to include this PR in the upcoming release? |
Contributor
Author
|
I will have more time tomorrow to finish this PR if that works for you. I don't mind if you merge this after the new release for the next round. |
renkun-ken
reviewed
Mar 6, 2022
jooyoungseo
added a commit
to jooyoungseo/vscode-R
that referenced
this pull request
Apr 21, 2022
This reverts commit a3ebb33.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem did you solve?
Closing #1008
(If you have)Screenshot
(If you do not have screenshot) How can I check this pull request?
Open Rmd file.
Insert the following snippets:
inline r code
inline footnotes
speaker notes
two columns
reference list
code chunk
incremental list
nonincremental list
incremental fenced block
nonincremental fenced block
unordered item
ordered item
task list
checked item
unchecked item
strikeout
superscript
subscript
bookdown theorem
cross-reference bookdown theorem
bookdown lemma
cross-reference bookdown lemma
bookdown corollary
cross-reference bookdown corollary
bookdown proposition
cross-reference bookdown proposition
bookdown conjecture
cross-reference bookdown conjecture
bookdown definition
cross-reference bookdown definition
bookdown example
cross-reference bookdown example
bookdown exercise
cross-reference bookdown exercise
bookdown hypothesis
cross-reference bookdown hypothesis
bookdown equation
cross-reference bookdown equation
figure chunk
external figure chunk
cross-reference bookdown figure
cross-reference bookdown table
bookdown section label
cross-reference bookdown section
bookdown part
bookdown unnumbered part
bookdown appendix