Are templates available in content

I think I am missing something fundamental, but are template calls available within content?
Say, I would like to use some image processing inside the article (oh, yes, just plain HTML with some front matter) and I wonder if construction like below is at all possible or what are the known workarounds.

<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.</p>
        src="{{ (resources.Get 'images/sea-current.jpg').Resize 250 }}"
        srcset="{{ (resources.Get 'images/sea-current.jpg').Resize 500 }} 2x"
        alt="image alt text" />
    <figcaption>Image caption</figcaption>
<p>Duis aute irure dolor in reprehenderit in voluptate velit ess cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>

not directly, this is the way:

More Accurate,
Directly write template inside content using Inline Shortcodes:
Inline Shortcodes