0

需要将图像或链接添加到我的 pagedown textarea。我知道我们能够挂钩图像或链接事件,但我想在不挂钩的情况下做到这一点。例如; 我有一个像这样的图像 url files/home/sweet/home.jpg,我不知道如何将它与 markdown 样式直接添加到 textarea 的内容中。

![enter image description here][1]

...

[1]: files/home/sweet/home.jpg
4

1 回答 1

1

在 Markdown 中我的 github 自述文件中,有效的是使用括号来指示要插入的图像的路径:

![enter image description here](files/home/sweet/home.jpg)

希望这可以帮助。

于 2014-12-07T19:42:15.670 回答