AppFlowy-IO / AppFlowy-IO/AppFlowy

[FR] set fonts for normal text and monospace text separately

未关闭
#8,813 1 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
code-block editor look and joy
主要语言
Dart
星标
76.6k
派生
6k
PR 合并指标
30 天内没有已合并 PR

描述

### Description

Look, we are almost adopting AppFlowy, and one of the major complaints I hear here is the single-font setting approach. Since I'd like the test to pass and AppFlowy to be available to all of us, I'm personally [treat it as just another, personal user request] writing this feature request, namely:
- allow users to set different fonts for normal text and monospace, just like Obsidian, Typora, etc. allow you.

If you look at ... Image .. you see that you can only set **one** single font for everything, meaning that *everything* will be Ubuntu Sans for now.

### request
We'd like inline code and code blocks to use another font, say, Ubuntu Sans Mono, or whatever. This ain't possible, see:
Image

The text in the pink rectangle uses another font, whatever it is. It's not even the pretty Ubuntu Sans font defined as the workspace font, which, in my opinion, is a major bug--it should at least be uniform.

Now, the feature that caught me was the comment|note feature [see the green ellipsis in the pic above]. I freaking **love** it.

---

Now, as an example of what I mean, look at, say, Typora:

Image

Result: code blocks and inline code use Ubuntu Sans Mono, and normal text uses the Ubuntu Sans font. THAT IS IT.

---

This is also the reason we standardised on Gecko-based browsers, because one can both pick separate fonts for normal and monospace text AND, and this is the killer feature, force that setting so that websites always use our predefined font settings, see example on Firefox:
Image

Thanks for considering this.

Cheers.

### Impact

HIGH

### Additional Context

_No response_

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。