[education/rkward] rkward: @examples improved

Stefan Rödiger null at kde.org
Mon Jun 20 22:26:48 BST 2022


Git commit fa83a9e73912b9d9a66b275bc84e27fd5ff8b9a6 by Stefan Rödiger.
Committed on 20/06/2022 at 21:26.
Pushed by srodiger into branch 'master'.

@examples improved

M  +1    -1    rkward/RKWardroxygen2.xml

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

diff --git a/rkward/RKWardroxygen2.xml b/rkward/RKWardroxygen2.xml
index a83b213c..b150bcb0 100644
--- a/rkward/RKWardroxygen2.xml
+++ b/rkward/RKWardroxygen2.xml
@@ -169,7 +169,7 @@ ${rangeCommand("cat(tabular(%%1))", "mtcars[1:5, 1:5]")}
  </item>
  <item>
   <match>examples</match>
-  <fillin>${rangeCommand("#' @examples %%1 Description text", "value")}</fillin>
+  <fillin>${rangeCommand("#' @examples\n#' %%1\n#' ", "example_code")}</fillin>
  </item>
  <item>
   <match>family</match>


More information about the rkward-tracker mailing list