@Override
  public @NotNull MarkdownHtmlPanel createHtmlPanel(@NotNull Project project, @NotNull VirtualFile virtualFile) {
    if (!canBeUsed()) {
      throw new IllegalStateException("Tried to create a JCEF panel, but JCEF is not supported in the current environment");
    }
    return new MarkdownJCEFHtmlPanel(project, virtualFile);
  }
@Override
  public @NotNull MarkdownHtmlPanel createHtmlPanel(@NotNull Project project, @NotNull VirtualFile virtualFile)