marktext / marktext/marktext

Additional Code Font defaults

Open
#2,472 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:unicorn: feature request 🔭 area/ui
Dominant language
TypeScript
Stars
61.6k
Forks
4.6k
Avg merge
23h 49m
Merged PRs (30d)
89

Description

https://github.com/marktext/marktext/blob/0fa6c33c44e92d0d1729d3d557d02ac7db87e73f/src/renderer/config.js#L8

May want to consider adding/prefixing the following code fonts.

  • Fira Code - Popular coding font, expansive coverage of special glyphs
  • Cascadia Code - Upcoming font from MS, used with new Windows Terminal
  • Inconsolata - Enhanced clone of Consolas
  • Consolas - Fixed width font on many Windows desktops

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at src/renderer/config.js around line 8, where the code-font defaults are defined. Add the requested font names in the intended fallback order, then verify that the configuration contains Fira Code, Cascadia Code, Inconsolata, and Consolas.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.