How to get php to work inside markdown?

Hi, testing Kirby, but with limited coding skills so far…

I have a short php thing that generates a certain, changing number. I’d like to insert that number midway through a paragraph of text that I have as markdown in a .txt file. How should I do that?

The (only) way to use PHP inside markdown is via a custom KirbyTag.