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="https://s3.amazonaws.com/appforest_uf/abc1.pdf">
<a href="https://s3.amazonaws.com/appforest_uf/abc2.pdf">
<a href="https://s3.amazonaws.com/appforest_uf/abc3.pdf"> 

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">
  <h3>Report</h3>
  <div class="association-div">
    <a href="https://s3.amazonaws.com/appforest_uf/abc1.pdf"><img src="https://s3.amazonaws.com/appforest_uf/image.jpg" alt="" /></a>
    </div>
</div>