搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Pre/code tags sometimes show incorrectly

  • 3 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 cor-el

more options

Viewing code snippets on Slack is broken. I can view code on Microsoft.com fine, and Slack in Edge displays correctly. So, I don't know if it's a Slack or Firefox issue or some combination.

Found a post about checking the monospace font, but that seems fine.

Firefox 94.0.1 (up-to-date).

I've tried disabling all extensions.

Screenshot below:

Viewing code snippets on Slack is broken. I can view code on Microsoft.com fine, and Slack in Edge displays correctly. So, I don't know if it's a Slack or Firefox issue or some combination. Found a post about checking the monospace font, but that seems fine. Firefox 94.0.1 (up-to-date). I've tried disabling all extensions. Screenshot below:

被采纳的解决方案

I'm sorry, but it seemed to be a problem just with one article on Slack. I don't know how to delete my question, but I'm sorry for the false report.

定位到答案原位置 👍 0

所有回复 (3)

more options

Screenshot didn't take first time.

more options

选择的解决方案

I'm sorry, but it seemed to be a problem just with one article on Slack. I don't know how to delete my question, but I'm sorry for the false report.

more options

You can right-click and select "Inspect Element" to open the built-in Inspector with this element selected.

You can check in the Rules tab in the right panel in the Inspector what font-family is used for selected text. You can check in the Font tab in the right panel in the Inspector what font is actually used because Firefox might be using a different font than specified by the website.