SelectPDF: send list of files using HTML to PDF

Any selectPDF plugin users here. I am sending the html code below to the plugin but I need to send it as a list of links. So the link after “<a href=” would be a list of files.
Like so:

<a href="">
<a href="">
<a href=""> 

and so on.
This then creates a pdf with a list of files (each behind the image in the img element).
The files are saved in the database via a separate workflow, but it could be any number of files, one or more.
Hope it makes sense.

This is the original code below for one file.

<div id="section-A" class="section">
  <div class="association-div">
    <a href=""><img src="" alt="" /></a>