[education/rkward/snippets] rkward: Code_Block with r for R language

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


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

Code_Block with r for R language

M  +1    -1    rkward/RKWardRMd.xml

https://invent.kde.org/education/rkward/commit/71d1f0b27388895e84f0f6d4f7b6d7bd2223196f

diff --git a/rkward/RKWardRMd.xml b/rkward/RKWardRMd.xml
index 1dcd9ad5..5ae568e7 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```{r}%%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