【问题标题】:How do I display a link as plain text in a README file如何在 README 文件中将链接显示为纯文本
【发布时间】:2020-09-30 11:20:49
【问题描述】:

我正在编写一个 README 文件,我想在文件中显示文本“ASP.NET”,但它显示为链接。有没有办法强制 URL(或看起来像 URL 的文本)显示为纯文本?

【问题讨论】:

  • 您能输入用于显示此文本的代码吗?方法很少,但这取决于您尝试放置它的方式和位置
  • - ASP.NET MVC 5.2.7

标签: c# asp.net github bitbucket readme


【解决方案1】:

你有多种方式Disable Github-flavored Markdown autolinking

例如:

https://<!--This is a comment-->gist.github.com/<!--This is, too-->alexpeattie/4729247
# give:
https://gist.github.com/alexpeattie/4729247

如果您不介意代码展示,也可以尝试使用代码块:`https://your/url`。

【讨论】:

  • 我确实尝试过背部抽动,但不喜欢演示文稿。您提供的另一个示例确实 工作。谢谢@VonC​​pan>
猜你喜欢
  • 2011-05-09
  • 2011-05-13
  • 2015-11-22
  • 1970-01-01
  • 2021-05-20
  • 1970-01-01
  • 2014-04-01
  • 2020-05-27
相关资源
最近更新 更多