在 Markdown 中的 (html) 注释块中嵌入链接
有没有一种方法可以将超链接嵌入到(github)markdown 文件的评论部分?
用法示例:
<!-- Please read the code of conduct before submitting, [code_of_conduct](https://link.to.code_of_conduct) -->
Is there a way we can embed hyperlink into the comment section of a (github) markdown file?
Example usage:
<!-- Please read the code of conduct before submitting, [code_of_conduct](https://link.to.code_of_conduct) -->
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在使用 GitHub Web 编辑器测试各种注释 markdown 语法后,它们都没有呈现为“可点击的链接”
,例如 < code>[ https://google.com ]::,当可编辑时,仍呈现为文本,如果您需要访问其 URL,则可以复制粘贴。
After testing various comment markdown syntaxes, using GitHub web editor, none of them are rendered as "clickable links"
For instance,
[ https://google.com ]::
, when editable, is still rendered as text, to be copy-pasted if you need to access its URL.嘿,你需要在命令之前休息一下。我刚刚遇到了同样的问题,这对我来说在 Github 上有效。
随机文本“输入”
“[code_of_conduct]”“(https://link.to.code_of_conduct)”“输入”
随机文本
Hey you need to put a break before the command. I just had the same issue and this works for me on Github.
Random text "enter"
"[code_of_conduct]""(https://link.to.code_of_conduct)" "enter"
Random text