Does not behave as monospaced in GitHub file editor, markdown code blocks etc
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- css
- 領域
- design
調査の方向性
まず、Monaspace Neonを使用してGitHubのファイルエディターとレンダリングされたMarkdownコードブロックでアライメントの問題を再現し、次に関係するCSSとフォントメトリクスを調査します。実際の等幅フォントと動作を比較します。編集時とレンダリングされたビューの両方で、カーソルの移動と文字の列が一貫して揃えば完了です。
索引モデルが issue の本文から書いたものです。
説明
We've all seen wonky ascii diagrams like this and assumed LLMs aren't counting the character columns correctly when generating them:
That's partly true. But when I went to edit the diagram by hand I found that I couldn't make the lines align.
In fact if I navigate the cursor up and down across the lines it takes a zig-zag path!
This is not supposed to happen with a monospaced font!
The issue appears to be the "Monaspace Neon" font that GitHub are using is not behaving as monospaced. After editing the CSS to get an actual monospaced font the chars align in true columns and I was able to edit the diagram into shape. But unfortunately after saving it still renders as per the screenshot at the top - yes, that's the 'fixed' version as rendered in Monaspace Neon.
See this video:
https://github.com/user-attachments/assets/e09cf31e-9ff2-4cb6-a349-6b193ea507b8
Non-fixed-width columns seems like a serious flaw for something supposed to be a monospace font?
- 主要言語
- Shell
- スター
- 19.6k
- フォーク
- 323
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
githubnext/monaspace のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
githubnext/monaspace#381 · リアクション 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
githubnext/monaspace#403 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
githubnext/monaspace#402 · コメント 2 件 · リアクション 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
githubnext/monaspace#401 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
githubnext/monaspace#399 ·
githubnext/monaspace の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
huggingface/Repo2RLEnv#163 · コメント 1 件 ·
-
setup tools wizard offers no GitHub auth path, and setup summary doesn't recognize `gh` CLI auth オープンarea/auth comp/cli P3 tool/skills type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
NousResearch/hermes-agent#121131 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
bradcypert/plum#53 ·
-
tmp_watchgod.sh exceeds the 1000-line cap; the Zone A guard helpers are a clean extraction seam オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
WingedGuardian/GENesis-AGI#2301 ·