I think maybe a plug-in can temporary do that. Maybe around a code block and preview it like dataview, or button.
I think it can be pretty interesting with the table extended plug-in.
After the table edition in typora is very cool so I dream to saw that in Obsidian.