I'm working on a variation of Wim Moermans Flashcards to Go routine but I want to add audio from an external directory to the individual flashcards. What I have, at the moment, is a statement like the one below in each flashcard tiddler.
<audio controls="controls"><source src="file:///C:/Users/Stephen/Downloads/JapaneseWords/xxx.mp3" type="audio/mp3"></audio>
I now have hundreds of these lines in my wiki where the only variation is the specific file name, xxx. What I like to do is put the filename, xxx, in a field and then have a single macro that would use that filename and create the equivalent. This ought to be simple but so far everything I've tried has failed.
Can someone point me in the right direction?