本文介绍了Markdown中没有文本的链接有语法吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想写

http://www.foo.com/

并获得以URL为文本的链接(例如,在HTML输出中).我不想写

and get a link with the URL as the text (e.g., in HTML output). I do not want to write

[http://www.foo.com/](http://www.foo.com/)

有可能吗?

推荐答案

是的,这是文档的相关部分:

<http://example.com/>

Markdown会将其转换为:

Markdown will turn this into:

<a href="http://example.com/">http://example.com/</a>

这篇关于Markdown中没有文本的链接有语法吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 18:46
查看更多