简体   繁体   English

如何在Google Code Wiki上添加图像标题

[英]How to add image caption on Google code wiki

I am using Google code wiki page for documentation. 我正在使用Google Code Wiki页面获取文档。 The way I adding image into my article is inserting a link to the image, for example put this link into where I want to place the image. 我在文章中添加图像的方式是在图像中插入一个链接,例如,将该链接放入我要放置图像的位置。

http://code.google.com/images/code_sm.png http://code.google.com/images/code_sm.png

The question is I want to add caption under the picture and also want to edit the size of this picture. 问题是我想在图片下方添加标题,还希望编辑该图片的尺寸。 How can I do that? 我怎样才能做到这一点? I didn't find the Syntax on their support page: 我在他们的支持页面上找不到语法:

http://code.google.com/p/support/wiki/WikiSyntax http://code.google.com/p/support/wiki/Wiki语法

Thanks in advance! 提前致谢!

I have found how to solve it. 我已经找到了解决方法。 Google code wiki page supports html. Google Code Wiki页面支持html。 so the size of picture can be edited using tag "img" and attributes "title" "width" and "height" . 因此可以使用标签“ img”和属性“ title”“ width”和“ height”编辑图片的大小。

img title="Map of 2nd floor" src="http://kth-hvac.googlecode.com/..." width="700px" height="300px"

Link is http://code.google.com/p/support/wiki/WikiSyntax#HTML_support 链接为http://code.google.com/p/support/wiki/WikiSyntax#HTML_support

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM