How to display different daily html in Markdown tile?

I am trying to figure out how to programmatically change the html content inside a markup tile. Specifically trying to pull a daily image with the source directory of /year/month/ and file name of day_lg.png

Any ideas on how I can accomplish this ?

Example of the content (space added between < and img to show the source):

type: markdown
content: >-
< img src=‘https://tides.net/graph/1928/2024/07/22_lg.png’ >

Try excellent HTML Jinja2 Template card.
Best regards.

Markdown cards allow templates, so you could do something like this:

type: markdown
  content: >
    <img src="https://tides.net/graph/1928/{{ now().strftime('%Y/%m/%d') }}_lg.png">

Thanks so much, that was the perfect fix.