[education/rkward/snippets] rkward: {r} added

Stefan Rödiger null at kde.org
Sat Jun 18 14:08:11 BST 2022


Git commit d6b39bdc2d680e3309492293b067a5cede2e99be by Stefan Rödiger.
Committed on 17/06/2022 at 21:32.
Pushed by srodiger into branch 'snippets'.

{r} added

M  +1    -1    rkward/RKWardRMd.xml

https://invent.kde.org/education/rkward/commit/d6b39bdc2d680e3309492293b067a5cede2e99be

diff --git a/rkward/RKWardRMd.xml b/rkward/RKWardRMd.xml
index 4410ddc5..1dcd9ad5 100644
--- a/rkward/RKWardRMd.xml
+++ b/rkward/RKWardRMd.xml
@@ -59,6 +59,6 @@ function rangeCommand(command, def) {
  </item>
  <item>
   <match>Code_Block</match>
-  <fillin>${rangeCommand("\n```%%1```\n", "\nx <- 1\n")}</fillin>
+  <fillin>${rangeCommand("\n```{r}%%1```\n", "\nx <- 1\n")}</fillin>
  </item>
 </snippets>



More information about the rkward-tracker mailing list