I am not really looking for code as answer but just the idea.
How can i replace content in posts or pages without using short codes or plugins via the recent rest API? In template engines you'd have variable place holders filled later by whatever but I'd like to get exactly around writing extra wp code (short codes, hooking into events, etc...)
However, I can't obviously just drop my custom markup in the content because it would be displayed to users as well. Eventually there is a trick over CSS but I'd love to hear the experts first.
thanks a lot, g