AppFlowy-IO / AppFlowy-IO/AppFlowy

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

オープン
#8,813 コメント 1 件 リアクション 3 件 担当者 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 を短くまとめたダイジェスト。