使用IntelliJ IDEA的JavaDoc中的图像 [英] Images in JavaDoc with IntelliJ IDEA
问题描述
我正在尝试在我的JavaDoc中包含图像。我按照文档并将图像存储在包目录中的 doc-files
。我的javadoc看起来像:
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>
*/
当我生成Javadoc时,会显示图像但是当我尝试查看Javadoc时在Idea中它只显示图像存根。我该如何管理?
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?
推荐答案
看起来内置的JavaDoc查看器不能满足您的需求。
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.
也许您可以使用jetbrains的api写一个插件?
Perhaps you could write a plugin using jetbrains' api?
提交功能请求。
这篇关于使用IntelliJ IDEA的JavaDoc中的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!