Language (@NotNull MarkdownCodeFence element) { final TemporaryPlacesRegistry registry = TemporaryPlacesRegistry.getInstance(element.getProject()); final InjectedLanguage language = registry.getLanguageFor(element, element.getContainingFile()); if (language != null) { return language.getLanguage(); } return null; }