From 51fb029ca27d67d7cd67352cdede45e5b25868f7 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 14 Aug 2022 19:01:21 +0200 Subject: switch back to LoveIt, other theme is deprectated --- themes/LoveIt/layouts/partials/function/ruby.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 themes/LoveIt/layouts/partials/function/ruby.html (limited to 'themes/LoveIt/layouts/partials/function/ruby.html') diff --git a/themes/LoveIt/layouts/partials/function/ruby.html b/themes/LoveIt/layouts/partials/function/ruby.html new file mode 100644 index 0000000..49aa35b --- /dev/null +++ b/themes/LoveIt/layouts/partials/function/ruby.html @@ -0,0 +1,5 @@ +{{- /* Ruby */ -}} +{{- /* [EN]^(English) -> ENEnglish */ -}} +{{- $REin := `\[(.+?)\]\^\((.+?)\)` -}} +{{- $REout := `$1$2` -}} +{{- return replaceRE $REin $REout . -}} -- cgit v1.2.3