Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/oop/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在Pandoc中添加带有alt标记但没有标题的图像?_Pandoc - Fatal编程技术网

如何在Pandoc中添加带有alt标记但没有标题的图像?

如何在Pandoc中添加带有alt标记但没有标题的图像?,pandoc,Pandoc,如中所述,在Pandoc的降价图像中 ![This is the caption](/url/of/image.png) 字符串这是标题作为标题添加到图像以及图像的alt标记中 我需要图像的alt标记,但希望避免在epub文档中使用某些图像的标题。是否有一种简单的方法可以实现这一点,例如通过css?Pandoc将作为段落唯一内容的图像视为图形,并将alt文本打印为标题。可以附加转义换行符以抑制此行为: ![This is the caption](/url/of/image.png) \

如中所述,在Pandoc的降价图像中

![This is the caption](/url/of/image.png)
字符串
这是标题
作为标题添加到图像以及图像的alt标记中


我需要图像的alt标记,但希望避免在epub文档中使用某些图像的标题。是否有一种简单的方法可以实现这一点,例如通过css?

Pandoc将作为段落唯一内容的图像视为图形,并将alt文本打印为标题。可以附加转义换行符以抑制此行为:

![This is the caption](/url/of/image.png) \