I actually implemented that! I have a private IntelliJ plugin that feeds markdown documents through an LLM and then highlights internal contradictions with the usual yellow background used for warnings. I use it when writing specs.