I read in the Anki manual that for Static Sounds/Images if you name an image something like “_logo.jpg” and reference it in a template like
<img src="_logo.jpg">
that it will be exported when sharing a deck.
Questions:
-
What is the logic for how this works? Does Anki search the template first for all tags having a src attribute and include the file when exporting if the file name in the src attribute starts with an underscore? Or does it look at all attributes?
-
Should this be expected to work for JavaScript files referenced from script tags as well? For example, if I have a file
_some_script_1.0.js
incollections.media
and the script tag below will the script be included when sharing a deck?
<script src="_some_script_1.0.js">