RKWard | Simplify implementation of "static" snippets. Some renames to keep logically... (!19)
Stefan Rödiger (@srodiger)
noreply at kde.org
Sun Jun 19 23:04:25 BST 2022
Stefan Rödiger commented on a discussion on rkward/RKWardRMd.xml: https://invent.kde.org/education/rkward/-/merge_requests/19#note_471586
> <item>
> <match>Link</match>
> - <fillin>${rangeCommand("(title)[%%1]", "URL")}</fillin>
> + <fillin>${rangeCommand([title]"(%%1)", "URL")}</fillin>
> + </item>
> + <item>
> + <match>rmarkdown::render()</match>
> + <fillin>rmarkdown::render(${cursor})</fillin>
> + </item>
> + <item>
> + <match>Code (inline)</match>
> + <fillin>${rangeCommand("`r %%1`", "paste(\"The sum of 1 to 1000 is\", sum(1L:1000))")}</fillin>
> + </item>
> + <item>
> + <match>Code (simple chunk)</match>
> + <fillin>${rangeCommand("\n```"+ braces("r") +" %%1```\n", "\nx <- 1\n\n")}</fillin>
Wollte ich nicht machen da man es auch in einen Fließtext einfügen kann. Dann würden die Zeilenünrüche eher stören. Oder?
--
Reply to this email directly or view it on GitLab: https://invent.kde.org/education/rkward/-/merge_requests/19#note_471586
You're receiving this email through KDE Activity Filter (see sysadmin/activityfilter on invent.kde.org)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20220619/c2bbcfe6/attachment-0001.htm>
More information about the rkward-devel
mailing list