Images in JavaDoc with IntelliJ IDEA [duplicate]

倖福魔咒の 提交于 2019-12-23 09:57:35

问题


I'm trying to include images in my JavaDoc. I follow documentation and store an image in the doc-files in the package directory. My javadoc looks like:

/**
 * This is class desctiprion. Image:
 * <p><img src="doc-files/image.png"/></p>
 */

When I generate Javadoc the image is shown but when I try to review Javadoc in the Idea it shows just image stub. How can I manage this?


回答1:


It looks like the built-in JavaDoc viewer doesn't do what you want.

There are a few other possibilities, though:

  • I haven't tried it, but there's a JavaDoc viewer plugin at http://plugins.jetbrains.com/plugin/612 - give it a try, and see if it meets your needs.

  • Perhaps you could write a plugin using jetbrains' api?

  • Put in a feature request.



来源:https://stackoverflow.com/questions/25382586/images-in-javadoc-with-intellij-idea

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!