diff options
author | Darius Jahandarie <djahandarie@gmail.com> | 2023-11-12 02:16:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-12 02:16:11 +0000 |
commit | d06029ea8c4244f40f9ddfeec5154f9ef2a4c053 (patch) | |
tree | 93f3e15603ec38faef01070475904c08d2e9280b /docs/templates.md | |
parent | f263e994c6eca2438eaff79cb22f1b48fe14b7b2 (diff) | |
parent | 784dcd93b02443bc253e3af43ad0586a1add39c5 (diff) |
Merge pull request #314 from starxeras/replace-yomichan
Replace all instances of yomichan
Diffstat (limited to 'docs/templates.md')
-rw-r--r-- | docs/templates.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/templates.md b/docs/templates.md index e75e4635..18274ed5 100644 --- a/docs/templates.md +++ b/docs/templates.md @@ -2,7 +2,7 @@ ## Helpers -Yomichan supports several custom Handlebars helpers for rendering templates. +Yomitan supports several custom Handlebars helpers for rendering templates. The source code for these templates can be found [here](../ext/js/templates/sandbox/anki-template-renderer.js). @@ -586,12 +586,12 @@ Joins the arguments to a single string with a separator, flattening any argument ```handlebars {{set "index" 32~}} - {{~join "_" "yomichan" (get "index") "value"}} + {{~join "_" "yomitan" (get "index") "value"}} ``` Output: ```html - yomichan_32_value + yomitan_32_value ``` </details> @@ -613,12 +613,12 @@ Joins the arguments to a single string, without flattening arguments that are ar ```handlebars {{set "index" 32~}} - {{~concat "yomichan_" (get "index") "_value"}} + {{~concat "yomitan_" (get "index") "_value"}} ``` Output: ```html - yomichan_32_value + yomitan_32_value ``` </details> @@ -727,11 +727,11 @@ These functions are used together in order to request media and other types of o Output: ```html - The audio file name is: yomichan_audio_にほんご_日本語.mp3 + The audio file name is: yomitan_audio_にほんご_日本語.mp3 - The screenshot file name is: yomichan_browser_screenshot_にほんご_日本語.png + The screenshot file name is: yomitan_browser_screenshot_にほんご_日本語.png - The clipboard image file name is: yomichan_clipboard_image_にほんご_日本語.png + The clipboard image file name is: yomitan_clipboard_image_にほんご_日本語.png The clipboard text is: This is the clipboard text @@ -741,7 +741,7 @@ These functions are used together in order to request media and other types of o This is an example of text with generated furigana: <ruby>日本語<rt>にほんご</rt></ruby> - The remapped file name for image.png is: yomichan_dictionary_media_1_にほんご_日本語.png + The remapped file name for image.png is: yomitan_dictionary_media_1_にほんご_日本語.png ``` </details> |