使 "email addresses" 不会变成超链接

making it so "email addresses" aren't turned into hyperlinks

SSH 中的某些算法表示为 aes128-gcm@openssh.com。这样做的问题是,如果您在 Markdown 文件中提到它,Docusaurus 1 会将其转换为 mailto: 超链接。我不介意对合法电子邮件进行此操作,但这不是合法电子邮件。我的意思是,我想它可能是,但在这种情况下,它不应该是电子邮件地址。

我可以做我在这里所做的并将它变成一个代码块,但我不想将每个算法名称都变成一个代码块。例如。 aes128-ctr 不需要是代码块来防止它成为超链接。当然,在 this 上下文中,使其成为代码块是有意义的,但恕我直言,它在我的上下文中没有意义(在 table 中使用它们,列出支持的各种不同 SSH 客户端的算法)。

谢谢!

这是因为 linkify(一个 Remarkable 插件)是 turned on by default in the core and there's no way to turn it off at the moment unless more configs are added to siteConfig.js, which we are hesitant to add at this point in time since we're focusing on Docusaurus 2。 Docusaurus 2 默认没有链接行为,所以你可以考虑使用它。

欢迎提出请求,或者@chris 在上面的评论中提到的 aes128-gcm[]()@openssh.com hack。