Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

代码区 != 会自动转成 ≠ ,希望把这个功能关闭 #119

Closed
leongongye opened this issue Jan 4, 2023 · 2 comments
Closed

代码区 != 会自动转成 ≠ ,希望把这个功能关闭 #119

leongongye opened this issue Jan 4, 2023 · 2 comments

Comments

@leongongye
Copy link

如下代码:

public class CarController() {
    public RestfulResult makeCarDrive(Integer carId) {
        Car car = carManager.getCarById(carId);
        assert car != null;
        carManager.makeCarDrive(car);
        //...略
    }
}

渲染出来:

图片

@leongongye
Copy link
Author

自己改字体了。
建议是:code block 最好【保持原样】

@liangjingkanji
Copy link
Owner

抱歉无法采纳建议, 理由:

  1. 这是目前最流行的编码字体, 且其是主流IDE的默认字体, 无法满足所有只能满足大部分用户
  2. 本主题非常推荐使用连字特性(ligatures)
  3. 本主题已经在README中有提示该问题

如果发生符号粘连, 那是主题内置字体JetBrainsMono的特性ligatures, 如不喜欢可自行删除: #75


本问题将会置顶 🔝

@liangjingkanji liangjingkanji pinned this issue Jan 5, 2023
liangjingkanji added a commit that referenced this issue Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants