New plugin hook to preproceses/format posts
I tried to implement a plugin which supports spoilers and moderated posts.
To achieve his would require me to process or format the post when it is being rendered.

Thank you for the proosal! In fact, web app plugins can render different post components based on the post’s type. Any time the web app encounters a post with this post type, it replaces the default rendering of the post component with your own custom implementation.
This allows you to create a custom format for posts.
https://developers.mattermost.com/extend/plugins/webapp/#custom-post-type-components
Let us know if there is further functionality you’re looking for from the feature?