The solution is actually pretty straightforward: don't do everything with text. The actual content you want to manipulate, sure, do that with text. But there's no good reason to structure with syntax except that that solution is compatible with even the most arcane computer interfaces.
How you replace syntax-based structuring is the hard part, but it's not impossible.