This is my first post, hope its ok.

I run a family history website as a hobby, and have created a long text article about different coats of arms.
There are 300 plus coats of arms, each different, numbered from 1-300 and each number is mentioned in the text. The images themselves are all in one folder and are all .png.

I really dont want to have to create an image link manually for all 300. Is there some way to automate this? Either, with some kind of dynamic script in the shtml file, or with some kind of text editor that can edit the shtml file and run through it hardcoding each image link in the file, that i can then save and put straight up?