Given that LLMs can or soon will be able to turn markdown or word into LaTeX this filter won’t last long.

It’s a dumb filter anyway.

Markdown and Word don’t have the tools to express what LaTeX can. Not even your deity of choice will ever be able to turn the former into the latter, let alone an LLM.