MacDownApp / MacDownApp/macdown

Font of code blocks can't be changed

Open
#1,032 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

One can change the size and type of the font for inline code with the css sheet, but, for **code blocks**, one can only change the size. _font-family_ is not taken into account, and the font always remains Monaco (or Andale Mono)

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

No source file or test is named. Start by locating the CSS rules used for inline code and code blocks in MacDown, then compare how font-size and font-family are applied. Done means the code-block font-family can be changed through the CSS sheet instead of remaining fixed to Monaco or Andale Mono.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, markdown
Domain
desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.